forked from libcsp/libcsp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (53 loc) · 2.32 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
language: c
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "a2Ffofips/GVFlaPZdKVgbFSTcd1AJDIRVOtf2UH/ILJz9JsJfQyQvvDMIkKw07LCam4FXoYcn8jGktK6VvT9NPIWEq3C63t3XNoM562f0hIC0C27aI3b19JTLlRwlzEtNvTmp0aJ1NQcGOu+qqm7jRFFi7kQlhZTZgIAFGBRwnvXbluCNHfZ73n9ig/ehMF9VuQr67apraUANvOZwnep/7/PhLt4g7lPQ6BnMLY6LB3Vd4WI1JPi9a1m/wzJWr8y2FkV2VREOxQNJ3unBx70AbGBgFYI22eNi5Yi0sqm9xRDpfzvDP4Q1hnCtYhPfF6vgwHjqUYs/B5c1e7VJSJ+7ehEUHm6uEkBkBqqjgMNGvMBkxdA9jjDVU7BTeoN6QCdhoXXjZ8x4MwHVn7i2T5Wxy7eNffwSmbov7B0ZHrBrjOkNiDb0Lq+RhYnjAa8355viScRAdxniDwjSaxz61yXv0U8stRmSltAikItFwCnEZWtIn9tedWcnXF4dDHrUBqXnZWht6ddiXZohUj23BNYaC207RSQqYamsz35sqVNyZO6mTMgNMLm5Gzp9abe1pyat981cYlE0cpTG+DhiAjAdJI0mBvXLkTXvf5LZkkCNdPDKPCYgnFd6oGkhCZo2hU5Wu+zbWeXj5V9kd1+rILoPgdjxpQ10Sr3soXjvIooQ4="
before_install:
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
addons:
coverity_scan:
project:
name: "UnseenLabs/libcsp"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "./waf configure --with-os=posix --with-driver-usart=linux --enable-rdp"
build_command: "./waf build"
branch_pattern: coverity_scan
matrix:
include:
# trusty gcc 4.8
- os: linux
addons:
apt:
packages:
- libzmq3-dev
# clang 5.0
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0
packages:
- libzmq3-dev
- clang-5.0
env:
- MATRIX_EVAL="CC=clang-5.0"
# gcc 7
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libzmq3-dev
- gcc-7
env:
- MATRIX_EVAL="CC=gcc-7"
before_install:
- eval "${MATRIX_EVAL}"
script:
- ./waf configure --with-os=posix --enable-rdp --enable-qos --enable-promisc --enable-crc32 --enable-hmac --enable-xtea --enable-bindings --enable-examples --enable-dedup --enable-if-kiss --enable-if-can --enable-if-zmqhub --enable-can-socketcan=linux --with-driver-usart=linux
- ./waf build