forked from agra-uni-bremen/metaSMT
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
93 lines (83 loc) · 3.29 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
93
language: cpp
dist: xenial
sudo: false
env:
# stable
- metaSMTConfig="--academic" # boolector-2.4.1 with lingeling and minisat
# yices-2.5.2
- metaSMTConfig="--academic -DmetaSMT_REQUIRE_CXX11=off" # now without C++11
#
- metaSMTConfig="-b boolector-3.0.0" # boolector-3.0.0
- metaSMTConfig="-b yices-2.6.1" # yices-2.6.1
- metaSMTConfig="-b Z3-4.5.0-ubuntu-14.04-x64" # z3 4.5.0 pre-built
- metaSMTConfig="-b Z3-4.5.0-ubuntu-14.04-x64" BOOST_VERSION=1.60.0 # z3 4.5.0 pre-built and boost-1.60.0
- metaSMTConfig="-b Z3-4.5.0-ubuntu-14.04-x64" BOOST_VERSION=1.70.0 # z3 4.5.0 pre-built and boost-1.70.0
- metaSMTConfig="-b Z3-4.8.4" # z3 4.8.4
- metaSMTConfig="-b cvc4-1.6" # cvc4 1.6
- metaSMTConfig="-b stp-2.3.3-basic -b minisat-git" # stp 2.3.3 with minisat
- metaSMTConfig="-b aiger-20071012 -b picosat-936 -b cudd-3.0.0" # others
# unstable
- metaSMTConfig="-b stp-git -b cryptominisat-git -b minisat-git" # stp upstream with cryptominisat and minisat
- metaSMTConfig="-b Z3-git" # z3 upstream
- metaSMTConfig="-b cvc4-unstable" # cvc4 upstream
compiler:
- gcc
- clang
matrix:
exclude:
- compiler: clang
env: metaSMTConfig="-b Z3-git"
- compiler: clang
env: metaSMTConfig="-b Z3-4.8.4"
- compiler: gcc
env: metaSMTConfig="-b cvc4-1.6"
- compiler: gcc
env: metaSMTConfig="-b cvc4-unstable"
- compiler: clang
env: metaSMTConfig="-b stp-git -b cryptominisat-git -b minisat-git"
- compiler: clang
env: metaSMTConfig="--non-free"
- compiler: clang
env: metaSMTConfig="--non-free" BOOST_VERSION=1.60.0
- compiler: clang
env: metaSMTConfig="-b aiger-20071012 -b picosat-936 -b cudd-3.0.0"
allow_failures:
- compiler: gcc
env: metaSMTConfig="-b Z3-git"
- compiler: clang
env: metaSMTConfig="-b cvc4-unstable"
- compiler: gcc
env: metaSMTConfig="-b stp-git -b cryptominisat-git -b minisat-git"
addons:
apt:
packages:
- libboost-dev
- libgmp-dev
- gperf # required by yices2
cache:
apt: true
directories:
- deps-gcc
- deps-clang
before_install:
- git clone https://github.com/agra-uni-bremen/dependencies.git
- |
if [[ "${BOOST_VERSION}" != "" ]]; then
BOOST_DIR=`pwd`/boost-${BOOST_VERSION}
BOOST_URL="http://sourceforge.net/projects/boost/files/boost/${BOOST_VERSION}/boost_${BOOST_VERSION//\./_}.tar.gz"
mkdir -p ${BOOST_DIR}
{ travis_retry wget --quiet -O - ${BOOST_URL} | tar --strip-components=1 -xz -C ${BOOST_DIR}; } || exit 1
export BOOST_ROOT=${BOOST_DIR}
else
export BOOST_ROOT=/usr
fi
- if [[ "${CXX}" == "g++" ]]; then export DEPS="deps-gcc"; fi
- if [[ "${CXX}" == "clang++" ]]; then export DEPS="deps-clang"; fi
- ./bootstrap.sh --deps ${DEPS} ${metaSMTConfig} -m RELEASE build/
before_script:
- cd build
script: make
after_success:
- make test
os:
- linux