mirror of
https://github.com/Unidata/netcdf-cxx4.git
synced 2024-11-27 07:49:52 +08:00
Added a travis-ci configuration file.
This commit is contained in:
parent
79083eb324
commit
91791fc3b5
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
*~
|
||||
build*
|
||||
CTestConfig.cmake
|
||||
CTestConfig.cmake
|
||||
myhtml
|
||||
|
27
.travis.yml
Normal file
27
.travis.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user