forked from symengine/symengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
115 lines (110 loc) · 3.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
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
language: cpp
sudo: false
compiler:
- gcc
- clang
os:
- linux
- osx
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- binutils-dev
- g++-4.7
env:
## All these variables are sent into the bin/test_travis.sh script. See this
## script to know how they are used. Most of them are just passed to cmake,
## so if they are not set, cmake will use a default value. For the rest, the
## bin/test_travis.sh script usually checks for either "yes" or "no" in an if
## statement, so if the variable is not set, the other if branch will get
## executed.
## Out of tree builds (default):
# Debug build (with BFD)
- BUILD_TYPE="Debug" WITH_BFD="yes"
# Debug build (with BFD and SYMENGINE_THREAD_SAFE)
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_SYMENGINE_THREAD_SAFE="yes"
# Debug build (with BFD) with ECM
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_ECM="yes"
# Debug build (with BFD) with PRIMESIEVE
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_PRIMESIEVE="yes"
# Debug build (with BFD) with Arb
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_ARB="yes"
# Debug build (with BFD) with MPC
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_MPC="yes"
# Debug build (with BFD) with MPC
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_MPFR="yes"
# Debug build shared lib (with BFD)
- BUILD_TYPE="Debug" WITH_BFD="yes" BUILD_SHARED_LIBS="yes"
# Release build (with BFD)
- WITH_BFD="yes"
# Release build (with BFD and SHARED_LIBS)
- WITH_BFD="yes" BUILD_SHARED_LIBS="yes"
## In-tree builds (we just check a few configurations to make sure they work):
# Debug build:
- BUILD_TYPE="Debug" WITH_BFD="yes" TEST_IN_TREE="yes"
matrix:
exclude:
- compiler: clang
- os: osx
include:
- env: BUILD_TYPE="Debug" WITH_BFD="yes" WITH_PIRANHA="yes"
compiler: gcc
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- boost-latest
packages:
- libgmp-dev
- libmpfr-dev
- binutils-dev
- libboost-serialization1.55-dev
- libboost-iostreams1.55-dev
- g++-4.8
- env: BUILD_TYPE="Debug" WITH_BFD="yes"
compiler: clang
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- clang
- libstdc++-4.8-dev
- libgmp-dev
- binutils-dev
- env: BUILD_TYPE="Release"
compiler: clang
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- clang
- libstdc++-4.8-dev
- libgmp-dev
- env: BUILD_TYPE="Debug"
compiler: clang
os: osx
- env: BUILD_TYPE="Release"
compiler: clang
os: osx
- env: BUILD_TYPE="Debug"
compiler: gcc
os: osx
- env: BUILD_TYPE="Release"
compiler: gcc
os: osx
install:
- source bin/install_travis.sh
script:
- bin/test_travis.sh
notifications:
email: false