File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
2
python :
3
+ - 3.6
3
4
- 3.5
4
5
- 3.4
5
6
- 2.7
6
7
sudo : false
8
+ env :
9
+ matrix :
10
+ - GROUP=python
11
+ matrix :
12
+ include :
13
+ - python : 3.5
14
+ env : GROUP=docs
7
15
cache :
8
16
pip : true
9
17
directories :
@@ -12,7 +20,16 @@ before_install:
12
20
- pip install -U pip setuptools
13
21
- nvm install 6
14
22
install :
15
- - pip install --upgrade -e ".[test, examples]"
23
+ - pip install --upgrade -e ".[test, examples, docs ]"
16
24
script :
17
- - py.test -l --nbval-lax --current-env examples
18
- - python -m pytest_check_links
25
+ - if [[ $GROUP == python ]]; then
26
+ py.test -l --nbval-lax --current-env examples
27
+ elif [[ $GROUP == js ]]; then
28
+ EXIT_STATUS=0
29
+ cd docs
30
+ make html || EXIT_STATUS=$?
31
+ make linkcheck || EXIT_STATUS=$?
32
+ cd ..
33
+ python -m pytest_check_links || EXIT_STATUS=$?
34
+ exit $EXIT_STATUS
35
+ fi
You can’t perform that action at this time.
0 commit comments