File tree Expand file tree Collapse file tree 5 files changed +43
-10
lines changed Expand file tree Collapse file tree 5 files changed +43
-10
lines changed Original file line number Diff line number Diff line change 1+ # use 'new'ish container-based infrastructure
2+ sudo : false
3+ dist : trusty
4+
5+ language : python
6+
7+ python :
8+ - " 2.7"
9+ - " 3.5"
10+
11+ # this anaconda setup is taken from http://stackoverflow.com/a/30175390
12+ before_install :
13+ - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
14+ export PYTHON_VERSION=2;
15+ wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O $HOME/miniconda2.sh;
16+ fi
17+ - if [[ "$TRAVIS_PYTHON_VERSION" == "3.5" ]]; then
18+ export PYTHON_VERSION=3;
19+ wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O $HOME/miniconda3.sh;
20+ fi
21+ - chmod +x $HOME/miniconda${PYTHON_VERSION}.sh
22+ - $HOME/miniconda${PYTHON_VERSION}.sh -b;
23+ - export PATH=/home/travis/miniconda${PYTHON_VERSION}/bin:$PATH
24+ - conda update --yes conda
25+
26+ install :
27+ # this line needs to be updated to match the requirements.txt files
28+ # the conda installer isn't able to process PIP's requirements.txt files
29+ - conda install --yes python=${TRAVIS_PYTHON_VERSION} numpy future scipy matplotlib nose
30+ - conda list
31+
32+ script :
33+ - which nosetests
34+ - nosetests
35+
36+ # TODO: generate documentation
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ -r requirements-optional.txt
2+ nose >= 1.2
Original file line number Diff line number Diff line change 1+ -r requirements.txt
2+ scipy >=0.15
3+ matplotlib >=1.3
Original file line number Diff line number Diff line change 1+ numpy >= 1.9
2+ future >= 0.14
You can’t perform that action at this time.
0 commit comments