diff --git a/.travis.yml b/.travis.yml index b7b611e..a2b4274 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,18 +4,23 @@ compiler: - clang before_install: - - sudo add-apt-repository -y ppa:nschloe/cmake-backports - - sudo add-apt-repository -y ppa:nschloe/netcdf-nightly + + ### + # 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 - + - sudo apt-get update -qq - sudo apt-get install -y -qq libcurl4-openssl-dev m4 wget autoconf libtool clang libjpeg8-dev - - sudo apt-get install cmake-data cmake - - sudo apt-get install libhdf5-openmpi-7 libnetcdf7 libnetcdf-dev - + install: - mkdir build - cd build - cmake .. - - make script: + - make -j 4 - make test