forked from quasiben/distributed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (26 loc) · 1.12 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
language: python
# sudo shouldn't be required, but currently tests fail when run in a container
# on travis instead of a vm. See https://github.com/dask/distributed/pull/1563.
sudo: required
dist: trusty
env:
matrix:
- PYTHON=3.6 TESTS=true COVERAGE=true PACKAGES="scikit-learn lz4" TORNADO=5 CRICK=true
- PYTHON=3.7 TESTS=true PACKAGES="scikit-learn python-snappy python-blosc" TORNADO=6
matrix:
fast_finish: true
include:
- os: linux
python: 3.6
env: LINT=true
install:
- if [[ $TESTS == true ]]; then source continuous_integration/travis/install.sh ; fi
- if [[ $TESTS == true ]]; then source continuous_integration/travis/setup-ssh.sh ; fi
script:
- if [[ $TESTS == true ]]; then source continuous_integration/travis/run_tests.sh ; fi
- if [[ $LINT == true ]]; then pip install flake8 ; flake8 distributed ; fi
- if [[ $LINT == true ]]; then pip install git+https://github.com/psf/black@cad4138050b86d1c8570b926883e32f7465c2880; black distributed --check; fi
after_success:
- if [[ $COVERAGE == true ]]; then coverage report; pip install -q coveralls ; coveralls ; fi
notifications:
email: false