forked from GeoscienceAustralia/anuga_core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (24 loc) · 926 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
24
25
26
27
28
29
30
31
32
33
language: python
matrix:
include:
- os: linux
dist: focal
sudo: required
python: "3.8"
env: PYTHON_VERSION="3.8" ANUGA_PARALLEL="openmpi" PYPAR_AVAILABLE="mpi4py" DISTRIB="ubuntu"
- os: linux
dist: focal
sudo: required
python: "3.10"
env: PYTHON_VERSION="3.10" ANUGA_PARALLEL="conda" PYPAR_AVAILABLE="mpi4py" DISTRIB="conda"
install:
- if [[ "$DISTRIB" == "conda_macos" ]]; then source tools/install_conda_macos_travis.sh; fi
- if [[ "$DISTRIB" == "conda" ]]; then source tools/install_conda_travis.sh; fi
- if [[ "$DISTRIB" == "ubuntu" ]]; then source tools/install_ubuntu_travis.sh; fi
- if [[ "$COVERAGE" == "--coverage" ]]; then pip install coverage coveralls; fi
script:
- export OMPI_MCA_btl_vader_single_copy_mechanism=none
- python --version
- pytest --pyargs anuga
after_success:
-