Added a travis-ci configuration file.

This commit is contained in:
Ward Fisher 2015-04-15 06:09:01 -06:00
parent 79083eb324
commit 91791fc3b5
2 changed files with 29 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
*~
build*
CTestConfig.cmake
CTestConfig.cmake
myhtml

27
.travis.yml Normal file
View File

@ -0,0 +1,27 @@
language: c
compiler:
- gcc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y -qq libcurl4-openssl-dev m4 wget autoconf libtool gfortran git
- wget http://www.unidata.ucar.edu/downloads/netcdf/ftp/hdf5bin-1.8.14.tar.bz2
- sudo mv hdf5bin-1.8.14.tar.bz2 /usr
- pushd /usr
- sudo tar -jxf hdf5-1.8.14.tar.bz2
- popd
- wget ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.3.3.1.tar.gz
- tar -zxf netcdf-4.3.3.1.tar.gz
- pushd netcdf-4.3.3.1
- ./configure --prefix=/usr
- make -j 2
- sudo make install
- popd
before_script:
- autoreconf -if
- ./configure
script:
- make -j 2
- make check