Skip to content

Commit

Permalink
Merge pull request #128 from bashtage/fix-travis
Browse files Browse the repository at this point in the history
BLD: Ensure docs are correctly built
  • Loading branch information
bashtage authored Dec 4, 2017
2 parents 7e2ca8e + ad581ef commit 38366ad
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,15 @@ script:
- pytest -n 2 --cov-config .coveragerc --cov=linearmodels linearmodels --durations=10 ${SKIPSLOW}
- set -e
- if [[ ${DOCBUILD} = true ]]; then cd doc && make html && make html && cd .. && doctr deploy devel; fi
- if [[ -z ${TRAVIS_TAG} && ${DOCBUILD} = true ]]; then echo "Nothing to do"; else doctr deploy doc --no-require-master && doctr deploy devel --no-require-master; fi
- |
if [[ -z ${TRAVIS_TAG} ]]; then
echo "Not a tagged build."
else
if [[ ${DOCBUILD} = true ]]; then
doctr deploy doc --no-require-master
doctr deploy devel --no-require-master
fi
fi
after_success:
- if [ ${COVERAGE} = true ]; then codecov; fi

0 comments on commit 38366ad

Please sign in to comment.