File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ language : python
2+ python :
3+ - " 2.7"
4+ - " 3.3"
5+ install :
6+ - sudo apt-get update
7+ # We do this conditionally because it saves us some downloading if the
8+ # version is the same.
9+ - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
10+ wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
11+ else
12+ wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
13+ fi
14+ - bash miniconda.sh -b -p $HOME/miniconda
15+ - export PATH="$HOME/miniconda/bin:$PATH"
16+ - hash -r
17+ - conda config --set always_yes yes --set changeps1 no
18+ - conda update -q conda
19+ # Useful for debugging any issues with conda
20+ - conda info -a
21+
22+ # Replace dep1 dep2 ... with your dependencies
23+ - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy nose
24+ - source activate test-environment
25+ - make test
26+ script :
27+ - nosetests -v
You can’t perform that action at this time.
0 commit comments