-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
59 lines (50 loc) · 1.93 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
sudo: false
language: cpp
compiler:
- gcc
install:
- export CXX="g++-4.9" CC="gcc-4.9" FC="gfortran-4.9"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- boost-latest
packages:
- ccache
- gfortan #for silo
- libhdf5-serial-dev #for silo
- liblapack-dev
- libblas-dev
- libboost1.55-dev
- gcc-4.9
- g++-4.9
- gfortran-4.9
env:
matrix:
- SILO=yes FLANN=no REDIS=no TWEMPROXY=no
- SILO=yes FLANN=yes REDIS=no TWEMPROXY=no
- SILO=yes FLANN=no REDIS=yes TWEMPROXY=yes
- SILO=yes FLANN=yes REDIS=yes TWEMPROXY=yes
- SILO=yes FLANN=no REDIS=no TWEMPROXY=no TESTFILE=test.json SILODIFF=/bin/true
- SILO=yes FLANN=yes REDIS=no TWEMPROXY=no TESTFILE=test.json SILODIFF=/bin/true
- SILO=yes FLANN=no REDIS=yes TWEMPROXY=yes TESTFILE=test.json SILODIFF=/bin/true
- SILO=yes FLANN=yes REDIS=yes TWEMPROXY=yes TESTFILE=test.json SILODIFF=/bin/true
- SILO=yes FLANN=no REDIS=no TWEMPROXY=no TESTFILE=reftest4.json
- SILO=yes FLANN=yes REDIS=no TWEMPROXY=no TESTFILE=reftest4.json
- SILO=yes FLANN=no REDIS=yes TWEMPROXY=yes TESTFILE=reftest4.json
- SILO=yes FLANN=yes REDIS=yes TWEMPROXY=yes TESTFILE=reftest4.json
- SILO=no FLANN=no REDIS=no TWEMPROXY=no SILODIFF=/bin/true
before_script:
- export PATH="/usr/lib/ccache:$PATH"
- wget -O - http://charm.cs.illinois.edu/distrib/charm-6.6.1.tar.gz | tar -xz
- cd charm && ./build charm++ net-linux-x86_64 -j4 && export CHARM_ROOT=$PWD && cd ..
script:
- make -j2 REDIS=${REDIS} FLANN=${FLANN} SILO=${SILO} CHARM_ROOT=${CHARM_ROOT} CHARMCXX="${CHARM_ROOT}/bin/charmc -c++ ${CXX} -ld++ ${CXX}" FC="${FC}" &&
make get_reference &&
make test REDIS=${REDIS} FLANN=${FLANN} SILO=${SILO} ${TESTFILE:+TESTFILE=${TESTFILE}} ${SILODIFF:+SILODIFF=${SILODIFF}}
cache:
directories:
- $HOME/.ccache
notifications:
email: