File tree 1 file changed +36
-20
lines changed
1 file changed +36
-20
lines changed Original file line number Diff line number Diff line change 1
- language : cpp
2
- cache : ccache
3
1
os : linux
4
2
dist : xenial
5
- stages :
6
- - check
7
- - test
8
- matrix :
3
+ jobs :
9
4
include :
10
- - name : " First commit message adheres to guidelines at <a href= \" https://goo.gl/p2fr5Q \" >https://goo.gl/p2fr5Q</a> "
11
- stage : check
5
+ - stage : " Lint and Compile "
6
+ name : " First commit message adheres to guidelines at <a href= \" https://goo.gl/p2fr5Q \" >https://goo.gl/p2fr5Q</a> "
12
7
if : type = pull_request
13
8
language : node_js
14
9
node_js : " node"
15
10
script :
16
11
- if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
17
12
bash -x tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST};
18
13
fi
14
+
19
15
- name : " Linter"
20
- stage : check
21
16
language : node_js
22
17
node_js : " node"
18
+ install :
19
+ - make lint-py-build || true
23
20
script :
24
- - NODE=$(which node) make lint
25
- - name : " Prepare ccache"
26
- stage : check
21
+ - NODE=$(which node) make lint-ci
22
+
23
+ - name : " Compile V8"
24
+ language : cpp
25
+ cache : ccache
27
26
addons :
28
27
apt :
29
28
sources :
30
29
- ubuntu-toolchain-r-test
31
30
packages :
32
31
- g++-6
33
32
install :
34
- - export CC='ccache gcc-6' CXX='ccache g++-6' JOBS=2
35
- - ./configure
36
- - make -j2 V=
33
+ - CC='ccache gcc-6' CXX='ccache g++-6' ./configure
34
+ script :
35
+ - CC='ccache gcc-6' CXX='ccache g++-6' make -j2 -C out V=1 v8
36
+
37
+ - name : " Compile Node.js"
38
+ language : cpp
39
+ cache : ccache
40
+ addons :
41
+ apt :
42
+ sources :
43
+ - ubuntu-toolchain-r-test
44
+ packages :
45
+ - g++-6
46
+ install :
47
+ - CC='ccache gcc-6' CXX='ccache g++-6' ./configure
37
48
script :
38
- - true
39
- - name : " Test Suite"
40
- stage : test
49
+ - CC='ccache gcc-6' CXX='ccache g++-6' make -j2 V=1
50
+
51
+ - stage : " Tests"
52
+ name : " Test Suite"
53
+ language : cpp
54
+ cache : ccache
41
55
addons :
42
56
apt :
43
57
sources :
@@ -47,6 +61,8 @@ matrix:
47
61
install :
48
62
- export CC='ccache gcc-6' CXX='ccache g++-6' JOBS=2
49
63
- ./configure
50
- - make -j2 V=
64
+ # We already have a compile log in the above job
65
+ - make -j2 > /dev/null
66
+ - make -j1 build-addons build-js-native-api-tests build-node-api-tests > /dev/null
51
67
script :
52
- - CI_JS_SUITES='--flaky-tests =skip default' make -j1 test
68
+ - JOBS=2 FLAKY_TESTS =skip make -s - j1 V= test-ci | grep -F -e "---" -e "..." -v
You can’t perform that action at this time.
0 commit comments