mirror of
https://github.com/Unidata/netcdf-cxx4.git
synced 2024-11-21 03:13:46 +08:00
Updated travis.yml configuration.
This commit is contained in:
parent
f10f1abbbb
commit
c70475a506
17
.travis.yml
17
.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
|
||||
|
Loading…
Reference in New Issue
Block a user