forked from ESMCI/cime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ESMCI#1345 from NCAR/ejh_travis
added travis file
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
language: c | ||
dist: trusty | ||
sudo: false | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- pkg-config netcdf-bin libnetcdf-dev openmpi-bin libopenmpi-dev gfortran | ||
|
||
before_install: | ||
- test -n $CC && unset CC | ||
- test -n $FC && unset FC | ||
- test -n $CPPFLAGS && unset CPPFLAGS | ||
- test -n FCFLAGS && unset FCFLAGS | ||
|
||
before_script: | ||
- export CC=mpicc | ||
- export CPPFLAGS='-I/usr/include' | ||
|
||
env: | ||
global: | ||
- CC=mpicc | ||
- CPPFLAGS='-I/usr/include' | ||
- LDFLAGS='-L/usr/lib' | ||
|
||
script: | ||
- autoreconf -i | ||
- ./configure | ||
- make -j distcheck | ||
|