forked from symengine/symengine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
154 lines (149 loc) · 4.41 KB
/
Copy path.travis.yml
File metadata and controls
154 lines (149 loc) · 4.41 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
language: cpp
sudo: false
compiler:
- gcc
- clang
os:
- linux
- osx
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- binutils-dev
- g++-4.7
env:
global:
- secure: "Xj8vvg++O4mhcUTQGtHqXHhn8o5LklI/GkGWO6fcRXlJQszvpSMQiYfJ1UAYlmmuvXRNjWWdhEr7inJdHe1ZtNSXVU/jEICUytFBG6T3uuhOsBPkjVTp2en5vwsSPohaHcAnhoDyK9L48SBcTKLTCkTMhOitj9jk2renem0dX84="
## 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.
matrix:
## Out of tree builds (default):
# Debug build (with BFD)
- BUILD_TYPE="Debug" WITH_BFD="yes" TRIGGER_FEEDSTOCK="yes"
# Debug build (with BFD and SYMENGINE_THREAD_SAFE)
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_SYMENGINE_THREAD_SAFE="yes"
# Debug build (with BFD, ECM, PRIMESIEVE and MPC)
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_ECM="yes" WITH_PRIMESIEVE="yes" WITH_MPC="yes"
# Debug build (with BFD, Flint and Arb and INTEGER_CLASS from flint)
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_ARB="yes" INTEGER_CLASS="flint"
# Debug build (with BFD, MPFR and INTEGER_CLASS from gmpxx)
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_MPFR="yes" INTEGER_CLASS="gmpxx"
# Debug build (with BFD and INTEGER_CLASS from boostmp)
- BUILD_TYPE="Debug" WITH_BFD="yes" INTEGER_CLASS="boostmp"
# Debug build shared lib (with BFD)
- BUILD_TYPE="Debug" WITH_BFD="yes" BUILD_SHARED_LIBS="yes"
# Release build (with BFD)
- WITH_BFD="yes"
# Release shared build (with BFD)
- 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_LATEST_GCC="yes" WITH_COVERAGE="yes" WITH_MPC="yes"
compiler: gcc
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- binutils-dev
- g++-5
- env: TEST_CLANG_FORMAT="yes"
compiler: gcc
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- clang-format-3.7
install:
- echo "nothing to install"
script:
- bin/travis_clang.sh
- env: BUILD_TYPE="Debug" WITH_BFD="yes" WITH_GCC_6="yes"
compiler: gcc
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- binutils-dev
- g++-6
- env: BUILD_TYPE="Debug" WITH_BFD="yes" WITH_PIRANHA="yes" WITH_COVERAGE="yes" TEST_IN_TREE="yes" WITH_FLINT="yes" WITH_MPC="yes" BUILD_BENCHMARKS="no"
compiler: gcc
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- binutils-dev
- g++-4.8
- env: BUILD_TYPE="Debug" WITH_BFD="yes" WITH_PIRANHA="yes" INTEGER_CLASS="piranha"
compiler: gcc
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- binutils-dev
- g++-4.8
- env: BUILD_TYPE="Debug" WITH_BFD="yes" WITH_LLVM="yes" WITH_BENCHMARKS_NONIUS="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/travis_clang.sh
- bin/test_travis.sh
- bin/trigger_feedstock.sh
notifications:
email: false