-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
92 lines (86 loc) · 2.07 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
language: C
matrix:
include:
- os: linux
compiler: gcc
env:
- INTERVAL_LIB=gaol
- LP_LIB=soplex
- STATIC_OR_SHARED=
- STATIC_OR_SHARED_CMAKE=
- os: linux
compiler: gcc
env:
- INTERVAL_LIB=gaol
- LP_LIB=none
- STATIC_OR_SHARED=--enable-shared
- STATIC_OR_SHARED_CMAKE=-DBUILD_SHARED_LIBS=ON
- os: linux
compiler: gcc
env:
- INTERVAL_LIB=filib
- LP_LIB=soplex
- STATIC_OR_SHARED=
- STATIC_OR_SHARED_CMAKE=
- os: linux
compiler: gcc
env:
- INTERVAL_LIB=direct
- LP_LIB=soplex
- STATIC_OR_SHARED=
- STATIC_OR_SHARED_CMAKE=
- os: osx
osx_image: xcode11
compiler: clang
env:
- INTERVAL_LIB=gaol
- LP_LIB=soplex
- STATIC_OR_SHARED=
- STATIC_OR_SHARED_CMAKE=
- CXXFLAGS=-std=c++11
- os: osx
osx_image: xcode11
compiler: clang
env:
- INTERVAL_LIB=gaol
- LP_LIB=none
- STATIC_OR_SHARED=--enable-shared
- STATIC_OR_SHARED_CMAKE=-DBUILD_SHARED_LIBS=ON
- CXXFLAGS=-std=c++11
allow_failures:
- os: linux
compiler: gcc
env:
- INTERVAL_LIB=direct
- LP_LIB=soplex
- STATIC_OR_SHARED=
- STATIC_OR_SHARED_CMAKE=
# only works on linux
addons:
apt:
packages:
- python
- flex
- bison
- libcppunit-dev
homebrew:
packages:
- flex
- bison
- cppunit
install:
- uname -a
- ./waf configure --prefix=$HOME ${STATIC_OR_SHARED} --interval-lib=${INTERVAL_LIB} --lp-lib=${LP_LIB} || cat __build__/*.log
- ./waf build install clean
# command to run tests
# TODO: add nonreg tests
script:
- ./waf utest
- mkdir build
- cd build
- cmake ${STATIC_OR_SHARED_CMAKE} -DINTERVAL_LIB=${INTERVAL_LIB} -DLP_LIB=${LP_LIB} ..
- make
- make check
# - __build__/examples/optimizer04 benchs/benchs-optim/coconutbenchmark-library1/ex8_5_2.bch acidhc4 compo smearsumrel 1.e-8 1.e-8 100 1
after_failure:
- cat __build__/*.log