Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ matrix:
include:
- python: 3.5
env: GROUP=docs
addons:
apt:
packages:
- pandoc
script:
- cd docs
- make html
- make linkcheck
- cd ..
- python -m pytest_check_links
cache:
pip: true
directories:
Expand All @@ -23,15 +33,4 @@ before_install:
install:
- pip install --upgrade -e ".[test, examples, docs]"
script:
- |
if [[ $GROUP == python ]]; then
py.test -l --nbval-lax --current-env examples;
elif [[ $GROUP == docs ]]; then
EXIT_STATUS=0
cd docs
make html || EXIT_STATUS=$?
make linkcheck || EXIT_STATUS=$?
cd ..
python -m pytest_check_links || EXIT_STATUS=$? ;
(exit $EXIT_STATUS)
fi
- py.test -l --nbval-lax --current-env examples
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
'sphinx>=1.5',
'nbsphinx>=0.2.13',
'nbsphinx-link',
'sphinx-rtd-theme',
]
},
'packages': [name], # Manually specify here, update after autogen
Expand Down