From 6f08d49cbf58830ee7a2183b9a39f124f9243894 Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Sat, 9 Mar 2019 10:07:12 -0700 Subject: [PATCH] added travis file --- .travis.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000000..8755d6a1046 --- /dev/null +++ b/.travis.yml @@ -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 +