netcdf-c/.travis.yml

26 lines
518 B
YAML

language: c
compiler:
- gcc
- clang
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y -qq libcurl4-openssl-dev m4 wget autoconf libtool clang libjpeg8-dev
###
# Install dependencies from a pre-built binary.
###
- cd /
- sudo wget http://www.unidata.ucar.edu/downloads/netcdf/ftp/travisdeps.tar.bz2
- sudo tar -jxf travisdeps.tar.bz2
- cd -
before_script:
- mkdir build
- cd build
- cmake .. -DENABLE_EXTRA_TESTS=ON -DENABLE_HDF4=ON
script:
- make -j 4
- make test