mirror of
https://github.com/Unidata/netcdf-cxx4.git
synced 2025-02-17 18:59:31 +08:00
Updated .travis.yml file.
This commit is contained in:
parent
946669847e
commit
22e7cff961
28
.travis.yml
28
.travis.yml
@ -5,23 +5,27 @@ compiler:
|
||||
before_install:
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -y -qq libcurl4-openssl-dev m4 wget autoconf libtool gfortran git
|
||||
- wget http://www.unidata.ucar.edu/downloads/netcdf/ftp/hdf5bin-1.8.14.tar.bz2
|
||||
- sudo mv hdf5bin-1.8.14.tar.bz2 /usr
|
||||
- pushd /usr
|
||||
- sudo tar -jxf hdf5-1.8.14.tar.bz2
|
||||
- popd
|
||||
- wget ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.3.3.1.tar.gz
|
||||
- tar -zxf netcdf-4.3.3.1.tar.gz
|
||||
- pushd netcdf-4.3.3.1
|
||||
- ./configure --prefix=/usr
|
||||
- make -j 2
|
||||
|
||||
# We need to install hdf5.
|
||||
# hdf5-1.8.14.tar.bz2
|
||||
- wget http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8.14/src/hdf5-1.8.14.tar.bz2
|
||||
- tar -jxf hdf5-1.8.14.tar.bz2
|
||||
- cd hdf5-1.8.14 && ./configure --enable-shared --disable-static --disable-fortran --enable-hl --disable-fortran --prefix=/usr && make -j 4 && sudo make install
|
||||
- cd ..
|
||||
|
||||
# Now we need to install libnetcdf
|
||||
- git clone http://www.github.com/Unidata/netcdf-c
|
||||
- cd netcdf-c
|
||||
- autoreconf -if
|
||||
- ./configure --prefix=/usr --disable-static --enable-shared
|
||||
- make -j 4
|
||||
- sudo make install
|
||||
- popd
|
||||
- cd ..
|
||||
|
||||
before_script:
|
||||
- autoreconf -if
|
||||
- ./configure
|
||||
|
||||
script:
|
||||
- make -j 2
|
||||
- make -j 4
|
||||
- make check
|
||||
|
@ -1,8 +1,10 @@
|
||||
[](https://travis-ci.org/Unidata/netcdf-cxx4)
|
||||
|
||||
netcdf-cxx4
|
||||
===========
|
||||
|
||||
Official GitHub repository for netCDF-4 C++ library.
|
||||
|
||||
|
||||
Note: The latest release of the historic C++ libraries, netCDF-4.2, may be downloaded from the following page:
|
||||
|
||||
* http://www.unidata.ucar.edu/downloads/netcdf/index.jsp
|
||||
@ -53,7 +55,7 @@ installation, for example enter
|
||||
Note that the "configure" script must be generated using
|
||||
|
||||
autoreconf -if
|
||||
|
||||
|
||||
To build the C++ interface guide, change to the cxx4 directory of the
|
||||
distribution and enter
|
||||
|
||||
|
@ -4,6 +4,8 @@ This file contains the release notes for the `netcdf-cxx4` project.
|
||||
|
||||
## netcdf-cxx4 v4.3.2 released TBD
|
||||
|
||||
* Added `netcdf-cxx4` to travis-ci.org. See [https://travis-ci.org/Unidata/netcdf-cxx4](https://travis-ci.org/Unidata/netcdf-cxx4) for more details.
|
||||
* Added `NcCompoundType` methods `getMemberName` and `getMemberIndex`. See [Pull Request #19](https://github.com/Unidata/netcdf-cxx4/pull/19) for more details.
|
||||
* Added `cmake` support to `netcdf-cxx4`, which will allow us to create a `CDash` continuous integration dashboard similar to those created for the `netcdf-c` and `netcdf-fortran` projects.
|
||||
* Added a `travis-ci` configuration file, `.travis.yml`.
|
||||
* Created `RELEASE_NOTES.md`.
|
||||
* Created `RELEASE_NOTES.md`.
|
||||
|
Loading…
Reference in New Issue
Block a user