-
Notifications
You must be signed in to change notification settings - Fork 0
/
shippable.yml
57 lines (49 loc) · 1.63 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
language: python
python: 3.5
cache: true
parallelized_test: true
#branches:
# except:
# - gh-pages
install:
- pip install requests
before_script:
- export PYTHONDONTWRITEBYTECODE=1
- git submodule init
- git submodule update
- make -C iutest/tools/fused
- mkdir -p shippable/testresults
script:
- cd iutest/tools/wandbox
- python ./iuwandbox.py --list_options ${WANDBOX_COMPILER}
- export SRC=../../../test/test.cpp
- export TEST_RESULT=../../../shippable/testresults/test_result.xml
- export STD_VER=c++17
- if [ "${WANDBOX_COMPILER}" = 'clang-3.7.1' ] || [ "${WANDBOX_COMPILER}" = 'gcc-4.9.2' ]; then export STD_VER=c++14 ; fi
- python ./iuwandbox.py ${SRC} -c ${WANDBOX_COMPILER} --std ${STD_VER} --encoding utf-8-sig --boost nothing --verbose --junit ${TEST_RESULT}
env:
matrix:
- WANDBOX_COMPILER=gcc-head
# - WANDBOX_COMPILER=gcc-7.3.0
# - WANDBOX_COMPILER=gcc-6.1.0
# - WANDBOX_COMPILER=gcc-5.3.0
# - WANDBOX_COMPILER=gcc-5.2.0 # travis (5.2.1)
# - WANDBOX_COMPILER=gcc-5.1.0 # wercker
- WANDBOX_COMPILER=gcc-4.9.2 # circle ci
- WANDBOX_COMPILER=clang-head
# - WANDBOX_COMPILER=clang-6.0.0
# - WANDBOX_COMPILER=clang-3.8 # travis ci
- WANDBOX_COMPILER=clang-3.7.1 # circle ci / wercker
# - WANDBOX_COMPILER=clang-3.6 # semaphore
# - WANDBOX_COMPILER=clang-3.5 # c++config.h not found
# - WANDBOX_COMPILER=clang-3.4
# - WANDBOX_COMPILER=clang-3.3 # wercker
# - WANDBOX_COMPILER=clang-3.2 # wercker
# - WANDBOX_COMPILER=clang-3.1 # wercker
# - WANDBOX_COMPILER=clang-3.0
after_success:
- echo OK
notifications:
email:
on_success: change
on_failure: always