Skip to content

Commit

Permalink
#17 Add a new stage for doc on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Mael-Le-Garrec authored and JoschD committed Oct 15, 2019
1 parent 04f2eae commit 21bca69
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ env:

stages:
- test
- name: documentation
if: tag =~ ^v\d+\.\d+\.\d+.*
- name: package
if: tag =~ ^v\d+\.\d+\.\d+.*

Expand All @@ -23,9 +25,14 @@ jobs:
- ./cc-test-reporter before-build
script:
- pytest --cov-report xml --cov=generic_parser tests
- travis-sphinx build --source=doc/ --nowarn
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

- stage: documentation
install:
- pip install travis-sphinx sphinx_rtd_theme
script:
- travis-sphinx build --source=doc/ --nowarn
after_success:
- travis-sphinx deploy

Expand Down

0 comments on commit 21bca69

Please sign in to comment.