forked from hpc/ior
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 loc) · 1.43 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 libray 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 achive 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