-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (38 loc) · 1.61 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
language: python
sudo: false
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
addons:
apt:
packages:
- graphviz
install:
# Install conda
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set always_yes yes --set changeps1 no
- conda update conda
# Install dependencies
- conda create -n test-environment python=$TRAVIS_PYTHON_VERSION
- source activate test-environment
- conda install pytest numpy pip coverage toolz pandas scikit-learn cytoolz dill pyzmq ipython bcolz chest blosc cython pytables h5py psutil
- if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then conda install bokeh; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then conda install unittest2; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]] || [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then conda install ipyparallel; fi
- pip install git+https://github.com/mrocklin/partd --upgrade
- pip install git+https://github.com/mrocklin/cachey --upgrade
- pip install blosc --upgrade
- pip install graphviz
- if [[ $TRAVIS_PYTHON_VERSION < '3' ]]; then pip install git+https://github.com/Blosc/castra; fi
# Install dask
- python setup.py install
script:
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then coverage run $(which py.test) dask --runslow --doctest-modules --verbose; else py.test dask --verbose; fi
after_success:
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then coverage report --show-missing; pip install coveralls ; coveralls ; fi
notifications:
email: false