add basic travis support

This commit is contained in:
Nico Schlömer 2015-02-11 22:07:33 +01:00
parent 65f78d6a8b
commit dd4881e394
2 changed files with 18 additions and 0 deletions

16
.travis.yml Normal file
View File

@ -0,0 +1,16 @@
language: c
compiler:
- gcc
# - clang
before_install:
# Get CMake >=2.8.8, HDF5 >= 1.8.6
- sudo add-apt-repository -y ppa:amcg/netcdf-parallel
- sudo apt-get update -qq
- sudo apt-get install -qq cmake libhdf5-openmpi-7 libhdf5-openmpi-dev
before_script:
- cmake -DCMAKE_C_COMPILER=mpicc -DENABLE_PARALLEL:BOOL=ON .
script:
- make && make test

View File

@ -1,6 +1,8 @@
Unidata NetCDF
==============
[![Build Status](https://travis-ci.org/nschloe/netcdf-c.png?branch=travis-ci)](https://travis-ci.org/nschloe/netcdf-c)
<a href="https://scan.coverity.com/projects/157">
<img alt="Coverity Scan Build Status"
src="https://scan.coverity.com/projects/157/badge.svg"/>