forked from symengine/symengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shippable.yml
60 lines (55 loc) · 2.92 KB
/
shippable.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
language: python
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 SYMENGINE_ASSERT)
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_SYMENGINE_ASSERT="yes"
# Debug build (with BFD and SYMENGINE_ASSERT) with Python 2.7
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_SYMENGINE_ASSERT="yes" WITH_PYTHON="yes" PYTHON_VERSION="2.7"
# Debug build (with BFD and SYMENGINE_ASSERT and SYMENGINE_THREAD_SAFE)
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_SYMENGINE_ASSERT="yes" WITH_SYMENGINE_THREAD_SAFE="yes"
# Debug build (with BFD and SYMENGINE_ASSERT) with ECM
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_SYMENGINE_ASSERT="yes" WITH_ECM="yes"
# Debug build (with BFD and SYMENGINE_ASSERT) with PRIMESIEVE
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_SYMENGINE_ASSERT="yes" WITH_PRIMESIEVE="yes"
# Debug build (with BFD and SYMENGINE_ASSERT) with Arb
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_SYMENGINE_ASSERT="yes" WITH_ARB="yes"
# Debug build (with BFD and SYMENGINE_ASSERT) with MPC
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_SYMENGINE_ASSERT="yes" WITH_MPC="yes"
# Debug build shared lib (with BFD and SYMENGINE_ASSERT)
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_SYMENGINE_ASSERT="yes" BUILD_SHARED_LIBS="yes"
# Debug build with Teuchos::RCP (just to test that it compiles)
- BUILD_TYPE="Debug" WITH_BFD="yes" WITH_SYMENGINE_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_SYMENGINE_ASSERT="yes" PYTHON_VERSION="2.7"
# Release build with Python 2.7:
- 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 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"
- 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"
install:
- source bin/install_travis.sh
script:
- bin/test_travis.sh
notifications:
email: false