Travis无法将ipython笔记本转换为html

Travis无法将ipython笔记本转换为html,python,ipython,travis-ci,autodoc,Python,Ipython,Travis Ci,Autodoc,我在使用Travis从ipython笔记本生成HTML时遇到问题。Autodoc失败,出现以下错误 building [html]: targets for 36 source files that are out of date updating environment: [new config] 36 added, 0 changed, 0 removed reading sources... [ 2%] ACC_Analysis

我在使用Travis从ipython笔记本生成HTML时遇到问题。Autodoc失败,出现以下错误

building [html]: targets for 36 source files that are out of date
updating environment: [new config] 36 added, 0 changed, 0 removed
reading sources... [  2%] ACC_Analysis                                          
Notebook error:
PandocMissing in ACC_Analysis.ipynb:
Pandoc wasn't found.
Please check that pandoc is installed:
https://pandoc.org/installing.html
Makefile:20: recipe for target 'html' failed
make: *** [html] Error 2
The command "make html" exited with 2.
0.00s$ touch build/html/.nojekyll
The command "touch build/html/.nojekyll" exited with 0.

以下是生成日志:

奇怪的是,当我tun
生成html
时,autodoc在本地机器上不会失败


我无法确定我需要告诉Travis安装什么依赖项。如果有人有这方面的经验,请帮助我。谢谢。

我知道了。我需要在.travis.yml文件中添加以下行:

before_install:
    - sudo apt-get -y install pandoc