forked from Samsung/escargot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
105 lines (93 loc) · 4.28 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
sudo: required
language: cpp
compiler:
- gcc
before_install:
- sudo apt-get install -y autoconf automake libtool ninja-build
matrix:
include:
- name: "check"
before_install: # skip installation of common build dependencies (not needed for checks)
- sudo apt-get install -y clang-format-3.8
script:
- python tools/check_tidy.py
- name: "linux.x64.release"
install:
- sudo apt-get install -y libicu-dev
script:
- cmake -H. -Bout/linux/x64/release -DESCARGOT_HOST=linux -DESCARGOT_ARCH=x64 -DESCARGOT_MODE=release -DESCARGOT_OUTPUT=bin -GNinja
- ninja -Cout/linux/x64/release
- cp ./out/linux/x64/release/escargot ./escargot
- travis_wait tools/run-tests.py --arch=x86_64 jetstream-only-simple
- tools/run-tests.py --arch=x86_64 jetstream-only-cdjs sunspider-js test262 internal octane chakracore jsc-stress
- name: "linux.x64.debug"
install:
- sudo apt-get install -y libicu-dev
script:
- cmake -H. -Bout/linux/x64/debug -DESCARGOT_HOST=linux -DESCARGOT_ARCH=x64 -DESCARGOT_MODE=debug -DESCARGOT_OUTPUT=bin -GNinja
- ninja -Cout/linux/x64/debug
- cp ./out/linux/x64/debug/escargot ./escargot
- tools/run-tests.py --arch=x86_64 jetstream-only-cdjs sunspider-js test262 internal
- name: "linux.x86.release"
install:
- sudo apt-get install -y gcc-multilib g++-multilib
- "sudo apt-get install -y libicu-dev:i386"
script:
- cmake -H. -Bout/linux/x86/release -DESCARGOT_HOST=linux -DESCARGOT_ARCH=x86 -DESCARGOT_MODE=release -DESCARGOT_OUTPUT=bin -GNinja
- ninja -Cout/linux/x86/release
- cp ./out/linux/x86/release/escargot ./escargot
- travis_wait tools/run-tests.py --arch=x86 jetstream-only-simple
- tools/run-tests.py --arch=x86 jetstream-only-cdjs sunspider-js test262 internal octane chakracore jsc-stress
- name: "linux.x86.debug"
install:
- sudo apt-get install -y gcc-multilib g++-multilib
- "sudo apt-get install -y libicu-dev:i386"
script:
- cmake -H. -Bout/linux/x86/debug -DESCARGOT_HOST=linux -DESCARGOT_ARCH=x86 -DESCARGOT_MODE=debug -DESCARGOT_OUTPUT=bin -GNinja
- ninja -Cout/linux/x86/debug
- cp ./out/linux/x86/debug/escargot ./escargot
- tools/run-tests.py --arch=x86 jetstream-only-cdjs sunspider-js test262 internal
- name: "linux.x64.release (-DVENDORTEST=1)"
install:
- sudo apt-get install -y libicu-dev
- sudo apt-get install -y npm
- npm install
script:
- cmake -H. -Bout/linux/x64/release -DESCARGOT_HOST=linux -DESCARGOT_ARCH=x64 -DESCARGOT_MODE=release -DESCARGOT_OUTPUT=bin -DVENDORTEST=1 -GNinja
- ninja -Cout/linux/x64/release
- cp ./out/linux/x64/release/escargot ./escargot
- tools/run-tests.py --arch=x86_64 v8 spidermonkey
- name: "linux.x86.release (-DVENDORTEST=1)"
install:
- sudo apt-get install -y gcc-multilib g++-multilib
- "sudo apt-get install -y libicu-dev:i386"
- sudo apt-get install -y npm
- npm install
script:
- cmake -H. -Bout/linux/x86/release -DESCARGOT_HOST=linux -DESCARGOT_ARCH=x86 -DESCARGOT_MODE=release -DESCARGOT_OUTPUT=bin -DVENDORTEST=1 -GNinja
- ninja -Cout/linux/x86/release
- cp ./out/linux/x86/release/escargot ./escargot
- tools/run-tests.py --arch=x86 v8 spidermonkey
- name: "darwin.x64.release"
os: osx
before_install: # override installation of common linux build dependencies (invalid for darwin)
- for PKG in autoconf automake cmake icu4c libtool ninja pkg-config; do brew list $PKG &>/dev/null || brew install $PKG; done
env:
- PKG_CONFIG_PATH=/usr/local/opt/icu4c/lib/pkgconfig
script:
- cmake -H. -Bout/darwin/x64/release -DESCARGOT_HOST=darwin -DESCARGOT_ARCH=x64 -DESCARGOT_MODE=release -DESCARGOT_OUTPUT=bin -GNinja
- ninja -Cout/darwin/x64/release
- name: "SonarQube"
addons:
sonarcloud:
organization: "pando-project"
cache:
directories:
- '$HOME/.sonar/cache'
install:
- sudo apt-get install -y libicu-dev
script:
- ./tools/check_sonarqube.sh
allow_failures:
- name: "SonarQube"
# fast_finish: true