1-
21language : python
32python :
43 - " 2.7"
@@ -7,29 +6,35 @@ python:
76env :
87 secure : " KTU56Bhft39FhFnV80Ek+Ht8nwAAJWlLAN104bALBzQWVraoD/znx0gQnoS+YQDjzxgpj30UKBua/o8q1IrvkjxJb8yUBzpS0P1jcGwqmpVRoNdb3pQPk8R7fB9pTFiaJUQbdQJ2/xTrB/T9Kda0J1zq81LC1zSOxAxUL47UI50="
98
10- before_install :
11- - sudo apt-get install -q libatlas3gf-base libatlas-dev liblapack-dev gfortran
9+ cache :
10+ directories :
11+ - $HOME/.cache/pip
12+ pip : true
1213
13- install :
14- - sudo apt-get update
15- - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
16- wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
17- else
18- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
19- fi
14+ sudo : false
15+
16+ before_cache :
17+ - rm -f $HOME/.cache/pip/log/debug.log
18+
19+ # command to install dependencies
20+ addons :
21+ apt :
22+ packages :
23+ - libatlas-dev
24+ - liblapack-dev
25+ - libatlas-base-dev
26+ - gfortran
27+
28+ before_install :
29+ - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
2030 - bash miniconda.sh -b -p $HOME/miniconda
2131 - export PATH="$HOME/miniconda/bin:$PATH"
22- - hash -r
23- - conda config --set always_yes yes --set changeps1 no
24- - conda update -q conda
25- # Useful for debugging any issues with conda
26- - conda info -a
27-
28- # Replace dep1 dep2 ... with your dependencies
29- - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy==0.13.3 matplotlib setuptools nose
30- - source activate test-environment
32+ - conda update --yes conda
33+
34+ install :
35+ - conda install --yes python=$TRAVIS_PYTHON_VERSION pip numpy=1.9 scipy=0.16 nose pandas
36+ - pip install mock --no-deps
3137 - python setup.py install
32- - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then pip install mock; fi
3338
3439# command to run tests, e.g. python setup.py test
3540script : python setup.py test
0 commit comments