Last change
on this file since 9613 was
9613,
checked in by steve, 10 years ago
|
Added a .gitignore and cleaned up travis.yml and test_all files
|
File size:
1.0 KB
|
Line | |
---|
1 | language: python |
---|
2 | env: |
---|
3 | matrix: |
---|
4 | - PYTHON_VERSION="2.7" |
---|
5 | - PYTHON_VERSION="2.6" |
---|
6 | install: |
---|
7 | - sudo apt-get update |
---|
8 | # You may want to periodically update this, although the conda update |
---|
9 | # conda line below will keep everything up-to-date. We do this |
---|
10 | # conditionally because it saves us some downloading if the version is |
---|
11 | # the same. |
---|
12 | - deactivate |
---|
13 | - wget http://repo.continuum.io/miniconda/Miniconda-3.4.2-Linux-x86_64.sh -O miniconda.sh; |
---|
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 | # Conda dependencies |
---|
23 | - conda create -q -n test-environment python="$PYTHON_VERSION" scipy gdal netcdf4 nose matplotlib |
---|
24 | - source activate test-environment |
---|
25 | # python 2.6 doesn't have argparse by default |
---|
26 | - if [[ "$PYTHON_VERSION" == "2.6" ]]; then |
---|
27 | conda install argparse |
---|
28 | fi |
---|
29 | - python setup.py install |
---|
30 | |
---|
31 | script: |
---|
32 | # Your test script goes here |
---|
33 | - python runtests.py |
---|
Note: See
TracBrowser
for help on using the repository browser.