Skip to content

Commit

Permalink
Merge pull request ESMCI#1345 from NCAR/ejh_travis
Browse files Browse the repository at this point in the history
added travis file
  • Loading branch information
edhartnett authored Mar 9, 2019
2 parents 1a5f3ed + 6f08d49 commit 19773d5
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .travis.yml
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

0 comments on commit 19773d5

Please sign in to comment.