support armv7hl build
[platform/upstream/iotjs.git] / .travis.yml
1 language: c
2
3 os: linux
4 dist: trusty
5
6 services:
7   - docker
8
9 script: tools/travis_script.py
10
11 matrix:
12   include:
13     - name: "Linux/x86-64 Build & Correctness Tests"
14       env:
15       - OPTS="host-linux"
16
17     - name: "Mock Linux Build & Correctness Tests"
18       env:
19       - OPTS="mock-linux"
20
21     - name: "Raspberry Pi 2 Build Test"
22       env:
23       - OPTS="rpi2"
24
25     - name: "STM32f4 Discovery with Nuttx Build Test"
26       env:
27       - OPTS="stm32f4dis"
28
29     - name: "Artik053 with TizenRT Build Test"
30       env:
31       - OPTS="artik053"
32
33     - name: "Tizen Build Test"
34       env:
35       - OPTS="tizen"
36
37     - name: "ECMAScript 2015 features Build & Correctness Tests"
38       env:
39       - OPTS="es2015"
40
41     - name: "External modules Build & Correctness Tests"
42       env:
43       - OPTS="external-modules"
44
45     - name: "Linux/x86-64 without snapshot Build & Correctness Tests"
46       env:
47       - OPTS="no-snapshot"
48
49     - name: "Misc checks (e.g. style checker)"
50       env:
51       - OPTS="misc"
52       addons:
53         apt:
54           packages: [valgrind, clang-format-3.9]
55
56     - name: "OSX/x86-64 Build & Correctness Tests"
57       env:
58       - OPTS="host-darwin"
59       os: osx
60       addons:
61         homebrew:
62           packages: [cmake]
63
64     - name: "ASAN Tests"
65       env:
66       - OPTS="asan"
67
68     - name: "UBSAN Tests"
69       env:
70       - OPTS="ubsan"
71
72     - name: "Coverity Scan"
73       env:
74       - OPTS="coverity"
75       # Declaration of the encrypted COVERITY_SCAN_TOKEN, created via the
76       # "travis encrypt" command using the project repo's public key.
77       - secure: "lUGzoKK/Yn4/OmpqLQALrIgfY9mQWE51deUawPrCO87UQ2GknfQ4BvwY3UT5QY0XnztPBP1+vRQ2qxbiAU7VWicp280sXDnh0FeuZD14FcE9l0FczraL12reoLu+gY5HWFfbkZncmcBsZkxDEYxhkM14FJU8fxyqGQW2ypJNz+gUGP+8r40Re5J3WjcddCQNe5IG8U+M9B4YeDHhN2QspLdN5pkgn56XtdGa3+qbecO2NpjJG5ltM9j1tTuo/Dg22DxrIFVfeFSFKUj4nfMrgPo5LevRsC/lfaBSCsj751eqrxRcQRh2hkpiIJ7mEBs2LL1EH9O6Mbj+eRh8BvIYqTB85VPNFc43sLWk14apcSVBrxJE5j3kP9sAsOD9Y5JynnkeuxYyISrkywwoX2uxsmCzIfGbwsv5VLToQzrqWlGYrHOAmVXNi8561dLfsWwxxFUjdqkZr1Kgc8UfnBEcBUtSiKCHS86/YUUbBJGkEkjDUS0GiqhFY4bXLQCR7EX4qDX3m6p7Mnh4NVUolpnSmyeYE/MjmqQ+7PJsPLL3EcIYmJ7dtW3mZ3yE2NyaFD0Pym9+TiuCCXRtrNVK1M3Kya64KNv+HbhjT/fTCgXLSeyDmJOKVAqugRlDo3b1KGR1LI0AfegzSA6mEC4e9JLjYiSnHPMUahzgLt8oU0hNFRY="
78       addons:
79         coverity_scan:
80           project:
81             name: "Samsung/iotjs"
82             description: "Platform for Internet of Things with JavaScript"
83           notification_email: duddlf.choi@samsung.com
84           build_command: "tools/travis_script.py"
85           branch_pattern: master
86
87     - name: "SonarQube"
88       addons:
89         sonarcloud:
90           organization: "pando-project"
91       script: ./tools/check_sonarqube.sh
92       cache:
93         directories:
94           - '$HOME/.sonar/cache'
95
96   fast_finish: true