forked from GeoscienceAustralia/anuga_core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (20 loc) · 925 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: python
sudo: required
virtualenv:
system_site_packages: true
env:
matrix:
- PYTHON_VERSION="2.7" ANUGA_PARALLEL="openmpi" DISTRIB="conda"
#- PYTHON_VERSION="2.7" ANUGA_PARALLEL="openmpi" DISTRIB="ubuntu"
#- PYTHON_VERSION="2.7" ANUGA_PARALLEL="mpich2" DISTRIB="conda"
- PYTHON_VERSION="2.7" ANUGA_PARALLEL="mpich2" DISTRIB="ubuntu" COVERAGE="--coverage"
#- PYTHON_VERSION="2.7" ANUGA_PARALLEL="false" DISTRIB="conda"
#- PYTHON_VERSION="2.6" ANUGA_PARALLEL="false" DISTRIB="conda"
install:
- if [[ "$DISTRIB" == "conda" ]]; then source tools/install_conda.sh; fi
- if [[ "$DISTRIB" == "ubuntu" ]]; then source tools/install_ubuntu.sh; fi
script:
- python runtests.py $COVERAGE
- if [[ "$COVERAGE" == "--coverage" ]]; then cp build/test/.coverage .; fi
after_success:
- if [[ "$COVERAGE" == "--coverage" ]]; then coveralls || echo "failed"; fi