forked from symengine/symengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
64 lines (58 loc) · 2.68 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
language: cpp
compiler:
- gcc
- clang
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
- BUILD_TYPE="Debug"
# Debug build (with BFD and CSYMPY_ASSERT)
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_CSYMPY_ASSERT="yes"
# Debug build (with BFD and CSYMPY_ASSERT) with Python 2.7
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_CSYMPY_ASSERT="yes" WITH_PYTHON="yes" PYTHON_VERSION="2.7"
# Debug build (with BFD and CSYMPY_ASSERT and CSYMPY_THREAD_SAFE)
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_CSYMPY_ASSERT="yes" WITH_CSYMPY_THREAD_SAFE="yes"
# Debug build (with BFD and CSYMPY_ASSERT) with ECM
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_CSYMPY_ASSERT="yes" WITH_ECM="yes"
# Debug build (with BFD and CSYMPY_ASSERT) with PRIMESIEVE
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_CSYMPY_ASSERT="yes" WITH_PRIMESIEVE="yes"
# Debug build (with BFD and CSYMPY_ASSERT) with Arb
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_CSYMPY_ASSERT="yes" WITH_ARB="yes"
# Debug build with Teuchos::RCP (just to test that it compiles)
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_CSYMPY_RCP="no"
# 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" WITH_CSYMPY_ASSERT="yes" PYTHON_VERSION="2.7"
# Release build with Python 2.7:
- TEST_IN_TREE="yes" WITH_PYTHON="yes" PYTHON_VERSION="2.7"
# These test the default Release build with other Python versions
- WITH_PYTHON="yes" PYTHON_VERSION="2.6"
- WITH_PYTHON="yes" PYTHON_VERSION="3.3"
- WITH_PYTHON="yes" PYTHON_VERSION="3.4"
# These test the setup.py file
- TEST_IN_TREE="yes" PYTHON_INSTALL="yes" PYTHON_VERSION="2.6"
- TEST_IN_TREE="yes" 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
include:
- env: BUILD_TYPE="Debug" WITH_BFD="yes" WITH_CSYMPY_ASSERT="yes" WITH_PYTHON="yes" PYTHON_VERSION="2.7"
compiler: clang
install:
- source bin/install_travis.sh
script:
- bin/test_travis.sh
notifications:
email: false