mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-17 16:50:18 +08:00
add basic travis support
This commit is contained in:
parent
65f78d6a8b
commit
dd4881e394
16
.travis.yml
Normal file
16
.travis.yml
Normal 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
|
@ -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"/>
|
||||
|
Loading…
Reference in New Issue
Block a user