diff --git a/.travis.yml b/.travis.yml index 1af34efc718..6689dea82c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ addons: sources: - ubuntu-toolchain-r-test packages: - - pkg-config netcdf-bin libnetcdf-dev openmpi-bin libopenmpi-dev gfortran + - pkg-config openmpi-bin libopenmpi-dev gfortran zlib1g-dev before_install: - test -n $CC && unset CC @@ -23,12 +23,25 @@ before_script: - export CC=mpicc - export FC=mpif90 - export CPPFLAGS='-I/usr/include' + - wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.5/src/hdf5-1.10.5.tar.gz + - tar -xzvf hdf5-1.10.5.tar.gz + - pushd hdf5-1.10.5 + - ./configure --prefix=/usr --enable-parallel + - make + - sudo make install + - popd + - wget https://github.com/Unidata/netcdf-c/archive/v4.6.3.tar.gz + - tar -xzvf v4.6.3.tar.gz + - pushd netcdf-c-4.6.3 + - ./configure --prefix=/usr + - make + - sudo make install + - popd - wget https://parallel-netcdf.github.io/Release/pnetcdf-1.11.0.tar.gz - tar -xzvf pnetcdf-1.11.0.tar.gz - - ls -l - pushd pnetcdf-1.11.0 - ./configure --prefix=/usr --enable-shared - - make + - make - sudo make install - popd env: