forked from ipython/ipykernel
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
64 lines (64 loc) · 1.32 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
61
62
63
64
language: python
matrix:
include:
- arch: arm64
python: "nightly"
dist: bionic
- arch: amd64
python: "nightly"
- arch: arm64
python: 3.5
- arch: amd64
python: 3.5
- arch: arm64
python: 3.6
- arch: amd64
python: 3.6
- arch: arm64
python: 3.7
- arch: amd64
python: 3.7
- arch: arm64
python: 3.8
- arch: amd64
python: 3.8
sudo: false
dist: xenial
install:
- |
# pip install
pip install --upgrade setuptools pip
pip install --pre --upgrade --upgrade-strategy=eager .[test] codecov
- |
# install matplotlib
if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then
pip install matplotlib curio trio
fi
- |
# pin tornado
if [[ ! -z "$TORNADO" ]]; then
pip install tornado=="$TORNADO"
fi
- |
# pin IPython
if [[ ! -z "$IPYTHON" ]]; then
if [[ "$IPYTHON" == "master" ]]; then
SPEC=git+https://github.com/ipython/ipython#egg=ipython
else
SPEC="ipython==$IPYTHON"
fi
pip install --upgrade --pre "$SPEC"
fi
- pip freeze
script:
- jupyter kernelspec list
- pytest --cov ipykernel --durations 10 -v ipykernel
after_success:
- codecov
matrix:
include:
- python: 3.7
env:
- IPYTHON=master
allow_failures:
- python: "nightly"