forked from jerryscript-project/iotjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
109 lines (104 loc) · 4.34 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
100
101
102
103
104
105
106
107
108
109
language: c
os: linux
dist: trusty
sudo: false
services:
- docker
before_install:
- if [[ "$RUN_DOCKER" == "yes" ]]; then docker pull iotjs/ubuntu:0.7; fi
script:
tools/travis_script.py
matrix:
include:
- env:
- JOBNAME="Linux/x86-64 Build & Correctness Tests"
- OPTS="host-linux"
- RUN_DOCKER=yes
- env:
- JOBNAME="Raspberry Pi 2 Build Test"
- OPTS="rpi2"
- RUN_DOCKER=yes
- env:
- JOBNAME="STM32f4 Discovery with Nuttx Build Test"
- OPTS="stm32f4dis"
- RUN_DOCKER=yes
- env:
- JOBNAME="Artik053 with TizenRT Build Test"
- OPTS="artik053"
- RUN_DOCKER=yes
- env:
- JOBNAME="Tizen Build Test"
- OPTS="tizen"
- RUN_DOCKER=yes
- env:
- JOBNAME="ECMAScript 2015 features Build & Correctness Tests"
- OPTS="es2015"
- RUN_DOCKER=yes
- env:
- JOBNAME="External modules Build & Correctness Tests"
- OPTS="external-modules"
- RUN_DOCKER=yes
- env:
- JOBNAME="Linux/x86-64 without snapshot Build & Correctness Tests"
- OPTS="no-snapshot"
- RUN_DOCKER=yes
- env:
- JOBNAME="Misc checks (e.g. style checker)"
- OPTS="misc"
- RUN_DOCKER=yes
addons:
apt:
packages: [valgrind, clang-format-3.8]
- env:
- JOBNAME="OSX/x86-64 Build & Correctness Tests"
- OPTS="host-darwin"
os: osx
install: tools/brew-install-deps.sh
- env:
- JOBNAME="ASAN Tests"
- OPTS="asan"
- ASAN_OPTIONS=detect_stack_use_after_return=1:check_initialization_order=true:strict_init_order=true
- TIMEOUT=600
compiler: gcc-4.9
addons:
apt:
sources: ubuntu-toolchain-r-test
packages: [gcc-4.9, gcc-multilib, gcc-4.9-multilib]
- env:
- JOBNAME="UBSAN Tests"
- OPTS="ubsan"
- UBSAN_OPTIONS=print_stacktrace=1
- TIMEOUT=600
compiler: gcc-4.9
addons:
apt:
sources: ubuntu-toolchain-r-test
packages: [gcc-4.9, gcc-multilib, gcc-4.9-multilib]
- env:
- JOBNAME="Coverity Scan"
- OPTS="coverity"
# Declaration of the encrypted COVERITY_SCAN_TOKEN, created via the
# "travis encrypt" command using the project repo's public key.
- secure: "lUGzoKK/Yn4/OmpqLQALrIgfY9mQWE51deUawPrCO87UQ2GknfQ4BvwY3UT5QY0XnztPBP1+vRQ2qxbiAU7VWicp280sXDnh0FeuZD14FcE9l0FczraL12reoLu+gY5HWFfbkZncmcBsZkxDEYxhkM14FJU8fxyqGQW2ypJNz+gUGP+8r40Re5J3WjcddCQNe5IG8U+M9B4YeDHhN2QspLdN5pkgn56XtdGa3+qbecO2NpjJG5ltM9j1tTuo/Dg22DxrIFVfeFSFKUj4nfMrgPo5LevRsC/lfaBSCsj751eqrxRcQRh2hkpiIJ7mEBs2LL1EH9O6Mbj+eRh8BvIYqTB85VPNFc43sLWk14apcSVBrxJE5j3kP9sAsOD9Y5JynnkeuxYyISrkywwoX2uxsmCzIfGbwsv5VLToQzrqWlGYrHOAmVXNi8561dLfsWwxxFUjdqkZr1Kgc8UfnBEcBUtSiKCHS86/YUUbBJGkEkjDUS0GiqhFY4bXLQCR7EX4qDX3m6p7Mnh4NVUolpnSmyeYE/MjmqQ+7PJsPLL3EcIYmJ7dtW3mZ3yE2NyaFD0Pym9+TiuCCXRtrNVK1M3Kya64KNv+HbhjT/fTCgXLSeyDmJOKVAqugRlDo3b1KGR1LI0AfegzSA6mEC4e9JLjYiSnHPMUahzgLt8oU0hNFRY="
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: "Samsung/iotjs"
description: "Platform for Internet of Things with JavaScript"
notification_email: [email protected]
build_command: "tools/travis_script.py"
branch_pattern: master
- env:
- JOBNAME="SonarQube"
addons:
sonarcloud:
organization: "samsung-iotjs"
token:
secure: "u9HWNQNhAqQQdgl3yldKcQVH8plMQRwIdpzjsM4j3GBC4Wrh9u8guLJB3o003i0UsyaGg2knYFdLgOmEsgcvXAo2aIUyzf9CfK9RLRw5RtIuPMpmR7UjHdlf+QfCF+nY+BB2j0nAiWnxHve95du7sZflNxi+eNJJzquyBh1Wm8eqwoiRpCgiDzjRDEAUoz0FWMNny/x5545E970jpQ2bjHGx98tCMUO8ikINeL8sC99sumffaFONG8GVpwLjc8McfQfYpWbk0e0OPxZtGDyqKcyMxcbAGctklsigtsBZKlpj69uba3w4OSA3zJPCdQ4dKwCyBOcAAP8qeF5Jf0eLI8WLEgnKir2Pfc/rKkY0owuz7S+tUmizm3+T06wDFgwpLu0/PcA5oOcp4WpGXbAX7WujaAHB7YKAEsk324XC7Bdf+39OuZ0dbKWMiwU7rYV4NOYNPjN2BCb1XqyE0Ung41Ls6P4t/zwzYRZtiovhr6ibNBcwLVclfQZ/tbyBDuh++8dh7Ixe+x5RFiiCB0w/fiKqqXYM8/we4JU3f71y4DK6fP+nSN/vIYttvkN28HCCvBVSdyuuvPRM6Ro1yLNw9U9PHCJ1CIgcx8+I8Mep3PzBhDILXWjzlVu4sa/+aIoEq7MvWBDMhrFEP6RX+M6CiPmgj5+Lu/GZNivbu51RASI="
script: ./tools/check_sonarqube.sh
cache:
directories:
- '$HOME/.sonar/cache'
fast_finish: true