File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change
1
+ language : python
2
+
1
3
sudo : false
2
4
5
+ cache :
6
+ directories :
7
+ - $HOME/.cache/pip
3
8
env :
4
9
global :
5
10
- CONDA_DEPS="pip flake8 pytest numpy scipy"
11
+ - EXTRA_WHEELS="https://5cf40426d9f06eb7461d-6fe47d9331aba7cd62fc36c7196769e4.ssl.cf2.rackcdn.com"
12
+ - PRE_WHEELS="https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com"
13
+ - EXTRA_PIP_FLAGS="--find-links=$EXTRA_WHEELS"
14
+ - PRE_PIP_FLAGS="--pre $EXTRA_PIP_FLAGS --find-links $PRE_WHEELS"
6
15
7
16
matrix :
8
17
include :
@@ -22,6 +31,16 @@ matrix:
22
31
env :
23
32
- PYTHON_VERSION=3.5
24
33
- MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh"
34
+ - os : linux
35
+ env :
36
+ - PYTHON_VERSION=2.7
37
+ - MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh"
38
+ - EXTRA_PIP_FLAGS="$PRE_PIP_FLAGS"
39
+ - os : linux
40
+ env :
41
+ - PYTHON_VERSION=3.5
42
+ - MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh"
43
+ - EXTRA_PIP_FLAGS="$PRE_PIP_FLAGS"
25
44
26
45
before_install :
27
46
# https://github.com/travis-ci/travis-ci/issues/6522
@@ -39,7 +58,7 @@ before_install:
39
58
- conda install --quiet python=$PYTHON_VERSION $CONDA_DEPS
40
59
41
60
install :
42
- - pip install ".[analysis]"
61
+ - pip install $EXTRA_PIP_FLAGS ".[analysis]"
43
62
44
63
script :
45
64
- py.test
You can’t perform that action at this time.
0 commit comments