File tree Expand file tree Collapse file tree 1 file changed +5
-17
lines changed Expand file tree Collapse file tree 1 file changed +5
-17
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
2
sudo : false
3
+ cache : pip
3
4
python :
4
5
- " 2.7"
5
6
- " 3.4"
6
- install :
7
- - if [[ "$TRAVIS_PYTHON_VERSION" == 2.* ]]; then
8
- wget http://repo.continuum.io/miniconda/Miniconda-3.4.2-Linux-x86_64.sh -O miniconda.sh;
9
- else
10
- wget http://repo.continuum.io/miniconda/Miniconda3-3.4.2-Linux-x86_64.sh -O miniconda.sh;
11
- fi
12
- - bash miniconda.sh -b -p $HOME/miniconda
13
- - export PATH="$HOME/miniconda/bin:$PATH"
14
- - hash -r
15
- - conda config --set always_yes yes --set changeps1 no
16
- - conda update -q conda
17
- # Useful for debugging any issues with conda
18
- - conda info -a
19
-
20
- - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION scikit-learn
21
- - source activate test-environment
22
- - python setup.py install
7
+ before_install :
8
+ - pip install --upgrade pip
9
+ - pip install wheel
10
+ - pip install numpy scipy scikit-learn
23
11
script : python setup.py test
You can’t perform that action at this time.
0 commit comments