Skip to content

Commit ccc3f4d

Browse files
authored
Merge pull request #310 from mgeier/travis-fixes
Fix a few Travis errors
2 parents 64489b1 + a68b8e2 commit ccc3f4d

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.travis.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ matrix:
1313
include:
1414
- python: 3.5
1515
env: GROUP=docs
16+
addons:
17+
apt:
18+
packages:
19+
- pandoc
20+
script:
21+
- cd docs
22+
- make html
23+
- make linkcheck
24+
- cd ..
25+
- python -m pytest_check_links
1626
cache:
1727
pip: true
1828
directories:
@@ -23,15 +33,4 @@ before_install:
2333
install:
2434
- pip install --upgrade -e ".[test, examples, docs]"
2535
script:
26-
- |
27-
if [[ $GROUP == python ]]; then
28-
py.test -l --nbval-lax --current-env examples;
29-
elif [[ $GROUP == docs ]]; then
30-
EXIT_STATUS=0
31-
cd docs
32-
make html || EXIT_STATUS=$?
33-
make linkcheck || EXIT_STATUS=$?
34-
cd ..
35-
python -m pytest_check_links || EXIT_STATUS=$? ;
36-
(exit $EXIT_STATUS)
37-
fi
36+
- py.test -l --nbval-lax --current-env examples

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
'sphinx>=1.5',
8888
'nbsphinx>=0.2.13',
8989
'nbsphinx-link',
90+
'sphinx-rtd-theme',
9091
]
9192
},
9293
'packages': [name], # Manually specify here, update after autogen

0 commit comments

Comments
 (0)