mdtest/.travis.yml

35 lines
1.4 KiB
YAML

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-openmpi-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 library hdfs should be used and if it is in
# the ubuntu repos
# Probably hadoop needs to be installed an provides native API.
# Install Amazon S3
# TODO: The needed library needs to be installed. Follow the instructions in
# aiori-S3.c to achieve this.
# GPFS
# NOTE: Think GPFS need a license and is therefore not testable with travis.
script:
- ./travis-build.sh
- export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/hdf5/openmpi:${LD_LIBRARY_PATH}
- CONFIGURE_OPTS="--with-hdf5" CFLAGS="-I/usr/include/hdf5/openmpi -L/usr/lib/x86_64-linux-gnu/hdf5/openmpi" ./travis-test.sh