forked from mom-ocean/MOM5
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
44 lines (37 loc) · 1.04 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
# Travis doesn't have a fortran build config, so we'll use c as a base and
# create our own environment
language: c
sudo: required
git:
depth: 3
quiet: true
env:
matrix:
- TYPE=MOM_solo
- TYPE=MOM_SIS
- TYPE=CM2M
- TYPE=ESM2M
- TYPE=ICCM
- TYPE=EBM
- TYPE=ACCESS-OM
- TYPE=ACCESS-CM
global:
- FC=gfortran-4.8
- OMPI_FC=${FC}
- OASIS_ROOT=$TRAVIS_BUILD_DIR/oasis3-mct/Linux
matrix:
allow_failures:
- env: TYPE=ACCESS-OM
# - env: TYPE=ACCESS-CM
install:
- sudo apt-add-repository --yes ppa:ubuntu-toolchain-r/test
- sudo apt-get update
- sudo apt-get install csh gcc-4.8 gfortran-4.8 libgomp1 openmpi-bin libopenmpi-dev libnetcdf-dev netcdf-bin
before_script:
- git clone --depth=1 https://github.com/OceansAus/oasis3-mct.git
- (cd oasis3-mct && make ubuntu)
script:
- cd exp && ./MOM_compile.csh --type $TYPE --platform travis --use_netcdf4
# after_success:
# - find .
# - codecov --gcov-exec=gcov-4.8