-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
52 lines (41 loc) · 1.09 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
# Travis-CI.org build script
# "trusty" is Ubuntu 14.04.5 LTS
# gcc 4.8.4
dist: trusty
# use containerized infrastructure (for faster startup; no sudo)
sudo: false
language: cpp
compiler:
- gcc
- clang
before_script:
- pip install --user cpp-coveralls
- BUILD_DIR=$(pwd)
- export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:~/chime/lib
- cd
- wget https://github.com/msgpack/msgpack-c/releases/download/cpp-2.1.0/msgpack-2.1.0.tar.gz
- tar xzf msgpack-2.1.0.tar.gz
- export MSGPACK_INC_DIR=$(pwd)/msgpack-2.1.0/include
- cd
- git clone https://github.com/CHIMEFRB/ch_frb_io.git
- cd ch_frb_io
- ln -s site/Makefile.local.travis Makefile.local
- make
- make install
script:
- pwd
- cd $BUILD_DIR
- pwd
- ln -s site/Makefile.local.travis Makefile.local
- make COVERAGE=yes OPTIMIZE=no
- make run-unit-tests
- ./run-unit-tests
after_success:
- coveralls --exclude lib --exclude tests --gcov-options '\-lp'
addons:
apt:
packages:
- libhdf5-serial-dev
- liblz4-dev
- libjsoncpp-dev
- python-numpy