-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
45 lines (43 loc) · 980 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
44
45
language: cpp
dist: trusty
sudo: enabled
branches:
only:
- master
- stable
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env:
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
- os: linux
compiler: clang
addons:
apt:
sources:
- llvm-toolchain-trusty-4.0
packages:
- clang-4.0
env:
- MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0"
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libhdf5-dev
- sudo apt-get install -y python-numpy
- sudo apt-get install -y python-h5py
- sudo apt-get install -y libboost-dev libboost-python-dev
- eval "${MATRIX_EVAL}"
script:
- cmake -DCMAKE_BUILD_TYPE=Release -DHAVE_ASSERTIONS=True
- make -j 4
- make timing -j 4
- make check -j 4