forked from clawpack/pyclaw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (48 loc) · 1.53 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
language: python
os: linux
env:
matrix:
- TEST_PACKAGE="pyclaw"
- TEST_PACKAGE="petclaw"
- TEST_PACKAGE="forestclaw"
python:
- 3.6.10
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq gfortran liblapack-pic
- sudo apt-get install pv liblapack-dev;
- git clone --branch=master --depth=100 --quiet git://github.com/clawpack/clawpack
- cd clawpack
- git submodule init
- git submodule update clawutil visclaw riemann
- rm -rf pyclaw
- ln -s ../ pyclaw
install:
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no --set show_channel_urls yes
- conda install python=$TRAVIS_PYTHON_VERSION
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
- conda install -c conda-forge mpich mpi4py
- conda install matplotlib nose coverage
- conda install -c clawpack hdf5-parallel h5py-parallel
- conda install -c conda-forge petsc4py
- conda install -c conda-forge scipy
- conda install -c conda-forge vtk
- conda install -c conda-forge python-coveralls
- python setup.py install
script:
- cd pyclaw
- bash ./run_tests_on_travis.sh
after_success:
- coveralls
notifications:
email: false