forked from Unidata/netcdf-cxx4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (26 loc) · 837 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
# We need to install hdf5.
# hdf5-1.8.14.tar.bz2
- wget http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8.14/src/hdf5-1.8.14.tar.bz2
- tar -jxf hdf5-1.8.14.tar.bz2
- cd hdf5-1.8.14 && ./configure --enable-shared --disable-static --disable-fortran --enable-hl --disable-fortran --prefix=/usr && make -j 4 && sudo make install
- cd ..
# Now we need to install libnetcdf
- git clone http://www.github.com/Unidata/netcdf-c
- cd netcdf-c
- autoreconf -if
- ./configure --prefix=/usr --disable-static --enable-shared
- make -j 4
- sudo make install
- cd ..
before_script:
- autoreconf -if
- ./configure
script:
- make -j 4
- make check