forked from intercept/intercept
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
99 lines (85 loc) · 4.46 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
branches:
only:
- master
- develop
sudo: required
dist: bionic
language: python
matrix:
include:
###############################################################################
# Job #1 - Wrappers validation
###############################################################################
- python: 3.5
before_script:
- if [ -n "${GH_TOKEN}" ] && [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
pip install pygithub;
pip install pygithub3;
fi
script:
- python3 tools/sqf_wrapper_validation.py
- if [ -n "${GH_TOKEN}" ] && [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
python3 tools/deploy.py;
fi
###############################################################################
# Job #2 - Building intercept with GCC
###############################################################################
- language: cpp
compiler: gcc
addons:
apt:
packages:
- g++-8
- g++-8-multilib
- linux-libc-dev:i386 # asm/errno.h
sources:
- ubuntu-toolchain-r-test
before_install:
# CMake 3.14. If you find a whitelisted backport for trusty, remove the lines below
# and put the backport to `sources:` and `packages:` above instead.
- wget https://cmake.org/files/v3.14/cmake-3.14.0-Linux-x86_64.sh
- chmod +x cmake-*-Linux-x86_64.sh
- mkdir /opt/cmake
- sudo ./cmake-*-Linux-x86_64.sh --prefix=/opt/cmake --exclude-subdir --skip-license
- export PATH=/opt/cmake/bin:$PATH
script:
- cd linux
- CC=gcc-8 CXX=g++-8 cmake -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake .. && make -j 3
- cd ../linux64
- CC=gcc-8 CXX=g++-8 cmake -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake .. && make -j 3
###############################################################################
# Job #3 - Building intercept with clang
###############################################################################
- language: cpp
compiler: clang
addons:
apt:
packages:
- clang-8
- g++-8-multilib
- linux-libc-dev:i386 # asm/errno.h
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-xenial-8
before_install:
# CMake 3.14. If you find a whitelisted backport for trusty, remove the lines below
# and put the backport to `sources:` and `packages:` above instead.
- wget https://cmake.org/files/v3.14/cmake-3.14.0-Linux-x86_64.sh
- chmod +x cmake-*-Linux-x86_64.sh
- mkdir /opt/cmake
- sudo ./cmake-*-Linux-x86_64.sh --prefix=/opt/cmake --exclude-subdir --skip-license
- export PATH=/opt/cmake/bin:$PATH
script:
- cd linux
- CC=clang-8 CXX=clang++-8 cmake -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake .. && make -j 3
notifications:
email:
on_success: never
on_failure: change
slack:
rooms:
- secure: MaXnAZhAPJLGDKSrhGR++UnnrZYwNC8sjshFg5VzxcYJyWpNfMyDTB+TcB0yQBv4CpaGPIjRjtGmpAvT4uAb2jWVNf5kkpJzCmc52Oiv9bNSB1HMRAsslQtVVuhwqEC85rnzu55Beu1aHAWABDBsE/dCxo1KstF8010PkcksW7Zk03DYkkzYR9IMrnkEC8PUaH/alEJS9ZRgQXwU/FLK8v9stm1yzsr20tbs259pZcgeBqEQjp54ND0+5gxgQbewuFn/7dTDWRxbc7XWYgKLK1KcjeRqhLAZ7LVgDNS8woL2DGomuuLmuTMS5YIEivUxV6DEcjzDRZcTiKnuP1ew6slO2MEdR9tUfQpQqmHq3j/IgW//WvtHcnbYOd18PipQdYDaAJNdavfJ0PtPWttB+fEqLDCQtTZwdycprALZEQ/yjjY6B/BtDFUyA6rLL888edhyuk2TNTur0kwK4Cl7JU8mS0xDWGGo+Ugji3ULwGoAH69+7OTfPHjq+8UHYP5SkFpWPCRAAOheccmWh16LM0hZpEhatyNtSESQjVY+FG9+xkRN+IGjeb+YGVfkwp61UeT862sdf7bNYpN6e5Bid59JQSM2ZR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