forked from clawpack/clawpack
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
43 lines (38 loc) · 999 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
34
35
36
37
38
39
40
41
42
43
language: python
python:
- 3.6.10
before_install:
# Print NumPy version that is already installed by Travis CI:
- python -c "import numpy; print(numpy.__version__)"
- sudo apt-get update -qq
- sudo apt-get install gfortran liblapack-pic liblapack-dev
- pip install matplotlib
- pip install yolk3k
- pip install netCDF4
- pip install xarray
- pip install scipy
install:
- pip install -e .
- export CLAW=${PWD}
- export FC=gfortran
before_script:
- cat /proc/cpuinfo
- gfortran -v
- echo "DEBUGGING --------------------"
- echo "CLAW="$CLAW
- echo "PYTHONPATH="$PYTHONPATH
- yolk -l
- echo "------------------------------"
script:
- cd $CLAW/pyclaw/examples
- nosetests
- cd $CLAW/classic
- nosetests
- cd $CLAW/amrclaw
- nosetests
- cd $CLAW/geoclaw
- nosetests
after_failure:
- for failed_test_path in *_output ; do cat $failed_test_path/run_output.txt ; cat $failed_test_path/error_output.txt ; done
notifications:
email: false