source: trunk/anuga_core/.travis.yml @ 9615

Last change on this file since 9615 was 9615, checked in by steve, 10 years ago

cleaned up some polt tests to avoid needed DISPLAY variable

File size: 1.2 KB
Line 
1language: python
2virtualenv:
3  system_site_packages: true
4env:
5  matrix:
6    - PYTHON_VERSION="2.7"
7    - PYTHON_VERSION="2.6"
8install:
9  - sudo apt-get update
10  # You may want to periodically update this, although the conda update
11  # conda line below will keep everything up-to-date.  We do this
12  # conditionally because it saves us some downloading if the version is
13  # the same.
14  - deactivate
15  - wget http://repo.continuum.io/miniconda/Miniconda-3.4.2-Linux-x86_64.sh -O miniconda.sh;
16  - bash miniconda.sh -b -p $HOME/miniconda
17  - export PATH="$HOME/miniconda/bin:$PATH"
18  - hash -r
19  - conda config --set always_yes yes --set changeps1 no
20  - conda update -q conda
21  # Useful for debugging any issues with conda
22  - conda info -a
23  # More debugging
24  - printenv
25
26  # Conda dependencies
27  - conda create -n test-environment --yes python=$PYTHON_VERSION numpy scipy gdal geos netcdf4 nose matplotlib
28  - source activate test-environment
29  - conda install -c https://conda.binstar.org/pingucarsti gdal-data
30  # python 2.6 doesn't have argparse by default
31  - if [[ "$PYTHON_VERSION" == "2.6" ]]; then conda install argparse; fi
32  - python setup.py install
33
34script:
35  # Your test script goes here
36  - python runtests.py
Note: See TracBrowser for help on using the repository browser.