forked from NOAA-GFDL/FMScoupler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (26 loc) · 865 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
# This Travis CI file is for testing the build and functionality
# of the libFMScoupler library, and model executable.
#
# This Travis CI file is based off the NOAA-GFDL/FMS Travis CI
# file.
# The FMS coupler is not a c-language project, but this is the
# best choice under Travis CI.
language: c
dist: xenial
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- pkg-config netcdf-bin libnetcdf-dev libnetcdff-dev openmpi-bin libopenmpi-dev gfortran
before_install:
- test -n "$CC" && unset CC
before_script:
- export CC=mpicc
- export FC=mpif90
- export CPPFLAGS='-I/usr/include -Duse_LARGEFILE -DMAXFIELDMETHODS_=500'
- export FCFLAGS='-fcray-pointer -fdefault-double-8 -fdefault-real-8 -Waliasing -ffree-line-length-none -fno-range-check'
- export LDFLAGS='-L/usr/lib'
script:
- t/null_model_build.sh