forked from jerryscript-project/iotjs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
104 lines (84 loc) · 2.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
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
language: c
os: linux
dist: trusty
services:
- docker
script: tools/travis_script.py
matrix:
include:
- name: "Linux/x86-64 Build & Correctness Tests"
env:
- OPTS="host-linux"
- name: "Mock Linux Build & Correctness Tests"
env:
- OPTS="mock-linux"
- name: "Linux/x86-64 Build with N-API support & Correctness Tests"
env:
- OPTS="n-api"
install:
- npm install
- name: "Raspberry Pi 2 Build Test"
env:
- OPTS="rpi2"
- name: "STM32f4 Discovery with Nuttx Build Test"
env:
- OPTS="stm32f4dis"
- name: "Artik053 with TizenRT Build Test"
env:
- OPTS="artik053"
- name: "Tizen Build Test"
env:
- OPTS="tizen"
- name: "ECMAScript 2015 features Build & Correctness Tests"
env:
- OPTS="es2015"
- name: "External modules Build & Correctness Tests"
env:
- OPTS="external-modules"
- name: "Linux/x86-64 without snapshot Build & Correctness Tests"
env:
- OPTS="no-snapshot"
- name: "Misc checks (e.g. style checker)"
env:
- OPTS="misc"
addons:
apt:
packages: [clang-format-3.9, npm, valgrind]
install:
- npm install eslint
- name: "OSX/x86-64 Build & Correctness Tests"
env:
- OPTS="host-darwin"
os: osx
addons:
homebrew:
packages: [cmake]
- name: "ASAN Tests"
env:
- OPTS="asan"
- name: "UBSAN Tests"
env:
- OPTS="ubsan"
- name: "Coverity Scan"
env:
- 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="
addons:
coverity_scan:
project:
name: "Samsung/iotjs"
description: "Platform for Internet of Things with JavaScript"
notification_email: duddlf.choi@samsung.com
build_command: "tools/travis_script.py"
branch_pattern: master
- name: "SonarQube"
addons:
sonarcloud:
organization: "pando-project"
script: ./tools/check_sonarqube.sh
cache:
directories:
- '$HOME/.sonar/cache'
fast_finish: true