Skip to content

Commit

Permalink
travis: generate coverage and docs from SETUP == full
Browse files Browse the repository at this point in the history
Travis job 1 is the one corresponding to SETUP == minimal and job 2
corresponds to SETUP == full.In the past we used job 1 to generate docs
and coverage. However, the minimal install is allowed to skip tests and
this will decrease coverage. By generating coverage from the full run
we should get better coverage.

(For consistency, I also switched devdoc generation to job 2.)
  • Loading branch information
orbeckst committed Jul 19, 2016
1 parent 7e334c3 commit f02dc88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ script:
- |
test ${TRAVIS_PULL_REQUEST} == "false" && \
test ${TRAVIS_BRANCH} == ${GH_DOC_BRANCH} && \
test "${TRAVIS_BUILD_NUMBER}.1" == "${TRAVIS_JOB_NUMBER}" && \
test "${TRAVIS_BUILD_NUMBER}.2" == "${TRAVIS_JOB_NUMBER}" && \
(cd ./package && python setup.py build_ext --inplace) && \
(cd ./package/doc/sphinx && make clean html) || \
true
Expand All @@ -75,5 +75,5 @@ after_success:
- |
test ${TRAVIS_PULL_REQUEST} == "false" && \
test ${TRAVIS_BRANCH} == ${GH_DOC_BRANCH} && \
test "${TRAVIS_BUILD_NUMBER}.1" == "${TRAVIS_JOB_NUMBER}" && \
test "${TRAVIS_BUILD_NUMBER}.2" == "${TRAVIS_JOB_NUMBER}" && \
bash ./maintainer/deploy_docs.sh

0 comments on commit f02dc88

Please sign in to comment.