-
Notifications
You must be signed in to change notification settings - Fork 61
/
.travis.yml
43 lines (41 loc) · 979 Bytes
/
.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
35
36
37
38
39
40
41
42
43
dist: trusty
sudo: false
language: c
compiler:
- gcc
- clang
os:
- osx
- linux
env:
global:
- CPPFLAGS="-Wall -Werror"
- CFLAGS="-Wall -Werror"
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update;
brew upgrade automake || true; brew upgrade libtool || true;
fi
install:
# Disable rvm override of cd
# see https://github.com/travis-ci/travis-ci/issues/8703
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
unset -f cd;
fi
- set -e
- git clone https://github.com/ofiwg/libfabric.git
- cd libfabric
- ./autogen.sh
- ./configure --prefix=$HOME
- make
- make install
- cd ..
- export LDFLAGS="-L$HOME/lib"
- export CPPFLAGS="-I$HOME/include"
script:
- ./autogen.sh
- ./configure --prefix=$HOME
- make
- make install
- make dist
- set +e # Disable exit on failure so that we don't exit when just one test fails
- make test