forked from mdavidsaver/FLAME
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
45 lines (44 loc) · 1.01 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
sudo: required
dist: trusty
addons:
apt:
packages:
- libhdf5-dev
- libboost-dev
- libboost-system-dev
- libboost-thread-dev
- libboost-filesystem-dev
- libboost-regex-dev
- libboost-program-options-dev
- libboost-test-dev
- python-decorator
- cmake
- bison
- flex
- libatlas-dev
- libatlas-base-dev
- liblapack-dev
- gfortran
- libgmp-dev
- libmpfr-dev
- cppcheck
language: python
cache: pip
install:
- pip install -r requirements-${PROF}.txt
- mkdir build
- (cd build && cmake -DCMAKE_BUILD_TYPE=$BTYPE -DPYTHON_EXECUTABLE=`which python` -DNEED_PYTHON=ON $XTRA ..)
- make -C build -j2 VERBOSE=1
script: cd build && ctest --output-on-failure
matrix:
include:
- python: "2.7"
env: PROF=deb9 BTYPE=RELEASE
- python: "2.7"
env: PROF=deb9 BTYPE=DEBUG
- python: "3.5"
env: PROF=deb9 BTYPE=RELEASE
- python: "3.5"
env: PROF=deb9 BTYPE=DEBUG
- python: "3.5"
env: PROF=deb9 BTYPE=RELEASE XTRA=-DCMAKE_CXX_FLAGS=-std=c++11