Travis-CI: Add config file

This adds a .travis.yaml file to use travis-ci for continuous
integration.
It currently compiles IOR on an ubuntu 14.04 machine with
only the POSIX, MPIIO and HDF5 backends enabled. For Lustre, GPFS,
NCMPI, HDFS and S3 libraries needs to be compiled as they are not
present in the ubuntu repositories. Lustre and NCMPI should be easy when
ubuntu 16.04 is available at travis-ci. S3 could be compiled by source
which shouldn't be hard but needs to be done if one is interested.
Hadoop needs a more complex installation process. GPFS seams not
possible as it is proprietary and needs a license as far as i know.

Repo Owner needs to enable CI on travis-ci.org. It's free for open
source git hub repos.
master
Enno Zickler 2018-02-27 10:47:27 +01:00
parent 9a200097a5
commit 11d3a929ff
1 changed files with 38 additions and 0 deletions

38
.travis.yml Normal file
View File

@ -0,0 +1,38 @@
language: c
# xenial 16.04 not yet supported
# dist: xenial
before_install:
# For MPI
- test -n $CC && unset CC
install:
- sudo apt-get -qq update
# Install MPI
- sudo apt-get install -y openmpi-bin libopenmpi-dev
# Install HDF5
- sudo apt-get install -y hdf5-tools libhdf5-mpi-dev
# Install Lustre
# TODO: As far as a i can see it needs to be compiled form source with kernel
# module as there is no package.
# It seams that there are .debs releases for lustre, but its only for 16.04
# So need to wait till travis is updated.
# https://downloads.hpdd.intel.com/public/lustre/lustre-2.10.3/
# Install Parallel netcdf
# TODO: Not in repos for 14.04 trustz but comes 16.04 xenial
#- sudo apt-get install -y libpnetcdf-dev pnetcdf-bin
# Install HDFS
# TODO: Not sure with which c libray hdfs should be used and if it is in
# the ubuntu repos
# Probably hadoop needs to be installed an provides nativ api.
# Install Amazon S3
# TODO: The needed library needs to be installed. Follow the instructions in
# aiori-S3.c to achive this.
# GPFS
# NOTE: Think GPFS need a license and is therefore not testable with travis.
before_script: ./bootstrap
script: ./configure --with-hdf5 && make
# notifications:
# email:
# on_success: change # default: change
# on_failure: always # default: always