forked from jerryscript-project/iotjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
100 lines (81 loc) · 2.84 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
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: "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: "qbQASyP3/OzpzAp8xRFL2uOAHhMbO0jVRJFg9i8UcPurHUXj1Erk0hOmS3gxkkv7g2BU1mwsMz2SLwKtAEzEwES5rEmAbJ8Jf/zWEPqjXA1taOfCKRyuGGxIdQD1AcU3dIUbYd+CJ9JwmfLcb5XIcoEQVfd0etl7bkJu43bqTptc0lnT6HAsl+QZ9y3tJH4qklTg9lJI6hp2aVtvT/liTJgqfZlXs0SsgDmZZ9C6B1ienhRFQZLezEVCRrjIbUfcHH5IWkXkIjfCdMXfYLqLhTZVHU7lxCcZhOIpMSVX0W85Ov2YTAaKyhTmHCETjjVFw0RK2t42lm7C5l7j0peF+PCG2Qw/w/KMfNKWf8CBcZX/IquOUu7/EFtWE/rc7qi4bKhLwOYtqTAroJjkX6YsPaQlsryAbtsIMlkFvW8oI7TxzJ9HE7co70/rgEj7Qka/7SLptVWyUxVWtJRQqBCE/piUzyAe/GYsmX4Qje+fY+b5spWWvFscxsBP3J5qA2zhV4nJQvJmnRNhz1wMmfh5tKO9Hifeof6JeISlGFRGqSX/RtVriRtI60FyEsHk6lZQqtW+INSVTHjoewC29kIdttbH1qjJ8L5+PmsiZRrm4ER38tnOrH1cGz1PdcTQJGoqVcB446f5Uc9G76q23xR7wkfkqb3P6zlF379C2rE41ps="
addons:
coverity_scan:
project:
name: "jerryscript-project/iotjs"
description: "Platform for Internet of Things with JavaScript"
notification_email: [email protected]
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