forked from ipython/traitlets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (39 loc) · 964 Bytes
/
.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
os: linux
dist: focal
language: python
python:
- "nightly"
- 3.8
- 3.7
install:
- pip install --upgrade pip
- pip install build
- python -m build .
- pip install dist/traitlets*.whl
- pip install --pre --upgrade traitlets[test] pytest pytest-cov codecov
- test -z ${TEST_DEPS} || pip install --upgrade ${TEST_DEPS}
- pip freeze
script:
- ${TEST:-py.test --cov traitlets -v traitlets}
after_success:
- codecov
jobs:
allow_failures:
- python: "nightly"
include:
- python: 3.8
env:
- TEST_DEPS=ipython[test]
- TEST=iptest
- python: 3.8
env:
- TEST_DEPS=git+https://github.com/jupyter/nbconvert.git#egg=nbconvert[test]
- TEST="py.test --pyargs nbconvert"
- python: 3.8
env:
- TEST_DEPS=notebook[test]
- TEST="nosetests --exclude selenium notebook"
- python: 3.8
env:
- TEST_DEPS=ipywidgets[test]
- TEST="pytest --pyargs ipywidgets"