netcdf-c/.travis.yml

25 lines
751 B
YAML
Raw Normal View History

2015-02-12 05:07:33 +08:00
language: c
compiler:
- gcc
- clang
2015-02-12 05:07:33 +08:00
before_install:
# Get CMake >=2.8.8, HDF5 >= 1.8.6
# - sudo add-apt-repository -y ppa:amcg/netcdf-parallel
2015-02-12 05:07:33 +08:00
- sudo apt-get update -qq
- sudo apt-get install -y -qq libcurl4-openssl-dev m4 wget autoconf libtool clang
2015-02-12 05:07:33 +08:00
# We need to install hdf5.
# hdf5-1.8.14.tar.bz2
2015-04-25 00:36:35 +08:00
- 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
2015-04-25 00:53:44 +08:00
- cd hdf5-1.8.14 && ./configure --enable-shared --disable-static --disable-fortran --enable-hl --disable-fortran --prefix=/usr && make -j 4 && sudo make install
2015-02-12 05:07:33 +08:00
before_script:
- autoreconf -if
- ./configure --enable-extra-tests
2015-04-25 01:16:27 +08:00
- cd ..
2015-02-12 05:07:33 +08:00
script:
- make -j 4
- LD_LIBRARY_PATH=/usr/local/lib make check