forked from dask/dask-searchcv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (29 loc) · 910 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
language: python
sudo: false
env:
matrix:
- PYTHON=2.7 SKLEARN=0.18.1 TEST_FLAGS=
- PYTHON=3.5 SKLEARN=0.18.0 TEST_FLAGS=
- PYTHON=3.6 SKLEARN=0.18.1 TEST_FLAGS=--doctest-modules
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=$PYTHON
- source activate test-environment
- conda install dask distributed numpy scikit-learn=$SKLEARN cytoolz pytest
- pip install -q graphviz flake8
- pip install --no-deps -e .
script:
- py.test dask_searchcv --verbose $TEST_FLAGS
- flake8 dask_searchcv
notifications:
email: false