forked from ibex-team/ibex-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (33 loc) · 1.1 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
language: C
matrix:
include:
- os: linux
compiler: gcc
- os: osx
compiler: clang
osx_image: xcode7.3
allow_failures: # temporary
- os: osx
# only works on linux
addons:
apt:
packages:
- python
- flex
- bison
- libcppunit-dev
# need this to install dependencies on osx
before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ] ; then brew update ; brew install python flex bison cppunit; fi
install:
- cd plugins/optim/; tar xvf soplex-1.7.1.tar && cd soplex-1.7.1 && make install && cd ../../..
- ./waf configure --with-optim --with-soplex=$PWD/plugins/optim/soplex-1.7.1 --with-affine
- sudo ./waf install
- export PKG_CONFIG_PATH=/usr/local/share/pkgconfig/
- cd tests/ && make utest && cd ..
- cd plugins/optim/tests/ && make nonreg && cd ../../..
# command to run tests
script:
# - __build__/examples/optimizer04 benchs/benchs-optim/coconutbenchmark-library1/ex8_5_2.bch acidhc4 compo smearsumrel 1.e-8 1.e-8 100 1
- cd tests/ && ./utest && cd ..
# - cd plugins/optim/tests/ && ./nonreg nonreg-travis-soplex-filib.res && cd ../../..