File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # use http://lint.travis-ci.org/ to check the file.
2+
13language : python
24
35sudo : required
@@ -48,6 +50,8 @@ matrix:
4850 env : TEST_TARGET=default
4951 - python : 2.7
5052 env : TEST_TARGET=coding_standards
53+ - python : 3.6
54+ env : TEST_TARGET=docs
5155 allow_failures :
5256 - python : 2.7
5357 env : TEST_TARGET=coding_standards
@@ -89,3 +93,13 @@ script:
8993 - if [[ $TEST_TARGET == 'coding_standards' ]]; then
9094 find . -type f -name "*.py" ! -name 'conf.py' | xargs flake8 --max-line-length=100 ;
9195 fi
96+
97+ - if [[ $TEST_TARGET == 'docs' ]]; then
98+ set -e ;
99+ conda install doctr ;
100+ pushd docs ;
101+ make clean html linkcheck ;
102+ popd ;
103+ # python -m doctr deploy --sync .;
104+ # python -m doctr deploy --sync --no-require-master --built-docs docs/_build/html "docs-$TRAVIS_BRANCH" ;
105+ fi
You can’t perform that action at this time.
0 commit comments