forked from intel/dps-for-iot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
63 lines (56 loc) · 1.91 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
sudo: required
language: c
compiler:
- clang
- gcc
env:
- VARIANT=debug TRANSPORT=udp BINDINGS=all ASAN=yes FSAN=no
- VARIANT=debug TRANSPORT=tcp BINDINGS=all ASAN=yes FSAN=no
- VARIANT=debug TRANSPORT=dtls BINDINGS=all ASAN=yes FSAN=no
- VARIANT=debug TRANSPORT=pipe BINDINGS=all ASAN=yes FSAN=no
- VARIANT=release TRANSPORT=udp BINDINGS=all ASAN=yes FSAN=no
- VARIANT=release TRANSPORT=tcp BINDINGS=all ASAN=yes FSAN=no
- VARIANT=release TRANSPORT=dtls BINDINGS=all ASAN=yes FSAN=no
- VARIANT=release TRANSPORT=dtls BINDINGS=python,nodejs ASAN=yes FSAN=yes
- VARIANT=release TRANSPORT=pipe BINDINGS=all ASAN=yes FSAN=no
- VARIANT=release TRANSPORT=fuzzer BINDINGS=python,nodejs ASAN=yes FSAN=yes
- FROM_UPSTREAM=true
matrix:
exclude:
- compiler: clang
- compiler: gcc
env: VARIANT=release TRANSPORT=dtls BINDINGS=python,nodejs ASAN=yes FSAN=yes
- compiler: gcc
env: VARIANT=release TRANSPORT=fuzzer BINDINGS=python,nodejs ASAN=yes FSAN=yes
include:
- compiler: clang
env: VARIANT=release TRANSPORT=dtls BINDINGS=python,nodejs ASAN=yes FSAN=yes
- compiler: clang
env: VARIANT=release TRANSPORT=fuzzer BINDINGS=python,nodejs ASAN=yes FSAN=yes
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-xenial-6.0
packages:
- clang-6.0
- doxygen
- g++-7
- nasm
- scons
- zlib1g-dev
before_install:
- "[ $CC = gcc ] && export CC=gcc-7 CXX=g++-7 || true"
- "[ $CC = clang ] && export CC=clang-6.0 CXX=clang++-6.0 || true"
install:
- ./.travis/install-swig.sh
- ./.travis/install-nodejs.sh
- pip install --user cryptography
- pip install --user pexpect
script:
- if [ "$FROM_UPSTREAM" != true ]; then
scons CC=$CC CXX=$CXX variant=$VARIANT transport=$TRANSPORT bindings=$BINDINGS asan=$ASAN ubsan=yes fsan=$FSAN;
./test_scripts/run.py -d;
else
./.travis/upstream-check.sh;
fi