forked from jerryscript-project/iotjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
73 lines (66 loc) · 2.74 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
language: c
os: linux
dist: trusty
sudo: required
services:
- docker
before_install:
- if [[ "$RUN_DOCKER" == "yes" ]]; then docker pull iotjs/ubuntu:0.6; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then tools/brew-install-deps.sh; fi
- if [[ "$OPTS" == "misc" ]]; then tools/apt-get-install-deps.sh; fi
install:
pip install --user jsonmerge
script:
tools/travis_script.py
env:
global:
- secure: "lUGzoKK/Yn4/OmpqLQALrIgfY9mQWE51deUawPrCO87UQ2GknfQ4BvwY3UT5QY0XnztPBP1+vRQ2qxbiAU7VWicp280sXDnh0FeuZD14FcE9l0FczraL12reoLu+gY5HWFfbkZncmcBsZkxDEYxhkM14FJU8fxyqGQW2ypJNz+gUGP+8r40Re5J3WjcddCQNe5IG8U+M9B4YeDHhN2QspLdN5pkgn56XtdGa3+qbecO2NpjJG5ltM9j1tTuo/Dg22DxrIFVfeFSFKUj4nfMrgPo5LevRsC/lfaBSCsj751eqrxRcQRh2hkpiIJ7mEBs2LL1EH9O6Mbj+eRh8BvIYqTB85VPNFc43sLWk14apcSVBrxJE5j3kP9sAsOD9Y5JynnkeuxYyISrkywwoX2uxsmCzIfGbwsv5VLToQzrqWlGYrHOAmVXNi8561dLfsWwxxFUjdqkZr1Kgc8UfnBEcBUtSiKCHS86/YUUbBJGkEkjDUS0GiqhFY4bXLQCR7EX4qDX3m6p7Mnh4NVUolpnSmyeYE/MjmqQ+7PJsPLL3EcIYmJ7dtW3mZ3yE2NyaFD0Pym9+TiuCCXRtrNVK1M3Kya64KNv+HbhjT/fTCgXLSeyDmJOKVAqugRlDo3b1KGR1LI0AfegzSA6mEC4e9JLjYiSnHPMUahzgLt8oU0hNFRY="
matrix:
- OPTS="host-linux" RUN_DOCKER=yes
- OPTS="rpi2" RUN_DOCKER=yes
- OPTS="stm32f4dis" RUN_DOCKER=yes
- OPTS="artik053" RUN_DOCKER=yes
- OPTS="tizen" RUN_DOCKER=yes
- OPTS="es2015" RUN_DOCKER=yes
- OPTS="external-modules" RUN_DOCKER=yes
- OPTS="no-snapshot" RUN_DOCKER=yes
- OPTS="misc" RUN_DOCKER=yes
matrix:
include:
- os: osx
env: OPTS="host-darwin"
install: pip2 install --user jsonmerge
- compiler: gcc-4.9
before_install: tools/apt-get-install-travis-i686.sh
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- gcc-4.9-multilib
env: OPTS="asan" ASAN_OPTIONS=detect_stack_use_after_return=1:check_initialization_order=true:strict_init_order=true
- compiler: gcc-4.9
before_install: tools/apt-get-install-travis-i686.sh
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- gcc-4.9-multilib
env: OPTS="ubsan" UBSAN_OPTIONS=print_stacktrace=1
- os: linux
before_install:
- tools/apt-get-install-deps.sh
- 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: OPTS="coverity"
fast_finish: true