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

Last change on this file since 9737 was 9737, checked in by steve, 9 years ago

Commit svn after a lot of git updates

File size: 1.4 KB
Line 
1language: python
2matrix:
3
4   include:
5       - os: linux
6         sudo: required
7         python: "2.7_with_system_site_packages"
8         env: PYTHON_VERSION="2.7"  ANUGA_PARALLEL="openmpi"  DISTRIB="ubuntu"
9
10       - os: linux
11         sudo: required
12         python: "2.7_with_system_site_packages"
13         env: PYTHON_VERSION="2.7"  ANUGA_PARALLEL="mpich2"  DISTRIB="ubuntu"
14
15       - os: linux
16         dist: trusty
17         sudo: required
18         python: "2.7_with_system_site_packages"
19         env: PYTHON_VERSION="2.7"  ANUGA_PARALLEL="mpich"  DISTRIB="ubuntu"
20
21       - os: linux
22         dist: trusty
23         sudo: required
24         python: "2.7_with_system_site_packages"
25         env: PYTHON_VERSION="2.7"  ANUGA_PARALLEL="false"  DISTRIB="ubuntu"
26
27
28       - os: linux
29         dist: trusty
30         sudo: required
31         python: "2.7_with_system_site_packages"
32         env: PYTHON_VERSION="2.7"  ANUGA_PARALLEL="openmpi"  DISTRIB="ubuntu" COVERAGE="--coverage"
33
34
35install:
36    - if [[ "$DISTRIB" == "conda" ]]; then source tools/install_conda.sh; fi
37    - if [[ "$DISTRIB" == "ubuntu" ]]; then source tools/install_ubuntu.sh; fi
38    - if [[ "$COVERAGE" == "--coverage" ]]; then pip install coverage coveralls; fi
39
40
41script:
42    - python runtests.py $COVERAGE
43    - if [[ "$COVERAGE" == "--coverage" ]]; then cp build/test/.coverage .; fi
44
45after_success:
46    - if [[ "$COVERAGE" == "--coverage" ]]; then coveralls || echo "failed"; fi
47
48
49
50
51
52
Note: See TracBrowser for help on using the repository browser.