forked from symengine/symengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
158 lines (153 loc) · 4.69 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
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
155
156
157
158
language: cpp
sudo: false
compiler:
- gcc
- clang
os:
- linux
- osx
addons:
apt:
packages:
- libgmp-dev
- libmpfr-dev
- libmpc-dev
- binutils-dev
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) with Python 2.7
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_PYTHON="yes" PYTHON_VERSION="2.7"
# 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 shared lib (with BFD)
- BUILD_TYPE="Debug" WITH_BFD="yes" BUILD_SHARED_LIBS="yes"
# Release build (with BFD)
- WITH_BFD="yes"
## In-tree builds (we just check a few configurations to make sure they work):
# Debug build without Python:
- BUILD_TYPE="Debug" WITH_BFD="yes" TEST_IN_TREE="yes"
# Debug build with Python 2.7:
- BUILD_TYPE="Debug" WITH_BFD="yes" TEST_IN_TREE="yes" WITH_PYTHON="yes" PYTHON_VERSION="2.7"
# Release build shared lib with Python 2.7:
- TEST_IN_TREE="yes" WITH_PYTHON="yes" PYTHON_VERSION="2.7" BUILD_SHARED_LIBS="yes"
# These test the setup.py file
- TEST_IN_TREE="yes" PYTHON_INSTALL="yes" PYTHON_VERSION="2.6"
- PYTHON_INSTALL="yes" PYTHON_VERSION="2.7"
- TEST_IN_TREE="yes" PYTHON_INSTALL="yes" PYTHON_VERSION="3.3"
- TEST_IN_TREE="yes" PYTHON_INSTALL="yes" PYTHON_VERSION="3.4"
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
- g++-4.8
- env: BUILD_TYPE="Debug" WITH_BFD="yes" WITH_PYTHON="yes" PYTHON_VERSION="2.7"
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" WITH_PYTHON="yes" PYTHON_VERSION="2.7"
compiler: clang
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- clang
- libstdc++-4.8-dev
- libgmp-dev
- env: BUILD_TYPE="Debug" WITH_PYTHON="yes" PYTHON_VERSION="2.7"
compiler: clang
os: osx
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- clang
- libstdc++-4.8-dev
- libgmp-dev
- binutils-dev
- env: BUILD_TYPE="Release" WITH_PYTHON="yes" PYTHON_VERSION="2.7"
compiler: clang
os: osx
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- clang
- libstdc++-4.8-dev
- libgmp-dev
- env: BUILD_TYPE="Debug" WITH_PYTHON="yes" PYTHON_VERSION="2.7"
compiler: gcc
os: osx
- env: BUILD_TYPE="Release" WITH_PYTHON="yes" PYTHON_VERSION="2.7"
compiler: gcc
os: osx
- language: ruby
env: WITH_RUBY="yes" WITH_PYTHON="yes" PYTHON_VERSION="2.7" TEST_IN_TREE="yes"
rvm: 1.9.3
compiler: gcc
os: linux
- language: ruby
env: WITH_RUBY="yes" WITH_PYTHON="yes" PYTHON_VERSION="2.6" WITH_MPFR="yes"
rvm: 2.0
compiler: gcc
os: linux
- language: ruby
env: WITH_RUBY="yes" WITH_PYTHON="yes" PYTHON_VERSION="3.3" WITH_MPC="yes"
rvm: 2.1
compiler: gcc
os: linux
- language: ruby
env: WITH_RUBY="yes" WITH_PYTHON="yes" PYTHON_VERSION="3.4"
rvm: 2.2
compiler: gcc
os: linux
- env: BUILD_TYPE="Release" WITH_SAGE="yes" WITH_PYTHON="yes" WITH_MPC="yes"
compiler: gcc
os: linux
install:
- source bin/install_travis.sh
script:
- bin/test_travis.sh
notifications:
email: false