mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-04-12 18:10:24 +08:00
Added old travis configuration for reference.
This commit is contained in:
parent
3718ee0a0a
commit
c62d3fa93e
52
.travis.yml.old
Normal file
52
.travis.yml.old
Normal file
@ -0,0 +1,52 @@
|
||||
sudo: false
|
||||
language: c
|
||||
compiler:
|
||||
- gcc
|
||||
- clang
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libcurl4-openssl-dev
|
||||
- m4
|
||||
- wget
|
||||
- autoconf
|
||||
- libtool
|
||||
- gfortran
|
||||
- git
|
||||
- doxygen
|
||||
- graphviz
|
||||
|
||||
before_install:
|
||||
|
||||
before_script:
|
||||
|
||||
###
|
||||
# Install dependencies from a pre-built binary.
|
||||
###
|
||||
- cd $HOME
|
||||
- wget http://www.unidata.ucar.edu/downloads/netcdf/ftp/travisdeps.tar.bz2
|
||||
|
||||
- tar -jxf travisdeps.tar.bz2
|
||||
- export LD_LIBRARY_PATH=$HOME/usr/lib
|
||||
- export PATH=$HOME/usr/bin:$PATH
|
||||
- cd -
|
||||
|
||||
- mkdir build-all
|
||||
- mkdir build-min
|
||||
|
||||
- cd build-min
|
||||
- cmake .. -DENABLE_NETCDF_4=OFF -DENABLE_DAP=OFF -DCMAKE_PREFIX_PATH=$HOME/usr-min
|
||||
- cd ..
|
||||
|
||||
- cd build-all
|
||||
- cmake .. -DENABLE_MMAP=ON -DENABLE_DOXYGEN=ON -DENABLE_EXTRA_TESTS=ON -DENABLE_HDF4=ON -DCMAKE_PREFIX_PATH=$HOME/usr
|
||||
- cd ..
|
||||
|
||||
script:
|
||||
- cd build-min
|
||||
- make -j 4
|
||||
- make test
|
||||
- cd ../build-all
|
||||
- make -j 4
|
||||
- make test
|
Loading…
x
Reference in New Issue
Block a user