forked from dask/distributed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (46 loc) · 1.29 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
language: generic
sudo: false
dist: trusty
services:
- docker
env:
matrix:
- PYTHON=2.7 PACKAGES="python-blosc futures faulthandler"
- PYTHON=3.5 COVERAGE=true PACKAGES=python-blosc CRICK=true
- PYTHON=3.6
- HDFS=true PYTHON=2.7
- HDFS=true PYTHON=3.5 PACKAGES=python-blosc
matrix:
fast_finish: true
include:
- os: osx
env: PYTHON=3.6 RUNSLOW=false
# Together with fast_finish, allow build to be marked successful before the OS X job finishes
allow_failures:
- os: osx
# This needs to be the exact same line as above
env: PYTHON=3.6 RUNSLOW=false
addons:
hosts:
# Need to make the container's hostname resolvable, since the HDFS
# client will contact it back.
- hdfs-container
before_install:
- |
if [[ $HDFS == true ]]; then
pushd continuous_integration
docker build -t distributed-hdfs-test .
# Run HDFS
./run-hdfs.sh || exit 1
popd
fi;
install:
- source continuous_integration/travis/install.sh
script:
- source continuous_integration/travis/run_tests.sh
- flake8 distributed
- pycodestyle --select=E722 distributed # check for bare `except:` blocks
after_success:
- if [[ $COVERAGE == true ]]; then coverage report; pip install -q coveralls ; coveralls ; fi
notifications:
email: false