This repository has been archived by the owner on Jun 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
60 lines (56 loc) · 1.56 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
language: python
# necessary for python 3.7, see https://github.com/travis-ci/travis-ci/issues/9815
dist: xenial
jobs:
include:
- python: "3.8"
env: SPHINX_VERSION=2.4.*
- python: "3.8"
env: SPHINX_VERSION=3.0.*
- python: "3.8"
env: SPHINX_VERSION=""
- python: "3.7"
env: SPHINX_VERSION=1.7.*
- python: "3.7"
env: SPHINX_VERSION=1.8.*
- python: "3.7"
env: SPHINX_VERSION=2.0.*
- python: "3.7"
env: SPHINX_VERSION=2.1.*
- python: "3.7"
env: SPHINX_VERSION=2.2.*
- python: "3.7"
env: SPHINX_VERSION=2.3.*
- python: "3.7"
env: SPHINX_VERSION=2.4.*
- python: "3.7"
env: SPHINX_VERSION=3.0.*
- python: "3.7"
env: SPHINX_VERSION=""
- python: "2.7"
env: SPHINX_VERSION=1.5.*
- python: "2.7"
env: SPHINX_VERSION=1.6.*
- python: "2.7"
env: SPHINX_VERSION=1.7.*
- python: "2.7"
env: SPHINX_VERSION=1.8.*
- python: "2.7"
env: SPHINX_VERSION=""
addons:
apt:
packages:
- pandoc
install:
- PACKAGES="matplotlib pillow jupyter coveralls bash_kernel sphinx"
- if [[ $SPHINX_VERSION != "" ]]; then PACKAGES="$PACKAGES==$SPHINX_VERSION"; fi
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then PACKAGES="$PACKAGES pathlib"; fi
- echo $PACKAGES
- pip install $PACKAGES
- python -m bash_kernel.install # install bash kernel
- python -m pip install . --no-deps --ignore-installed -vvv
- pip freeze # show installed packages
script:
- coverage run --source=sphinx_nbexamples setup.py pytest
after_success:
coveralls