@@ -9,26 +9,8 @@ dist: xenial |
|
|
9 |
9 |
language: cpp |
10 |
10 |
jobs: |
11 |
11 |
include: |
12 |
|
- - stage: "Lint and Compile" |
13 |
|
-name: "First commit message adheres to guidelines at <a href=\"https://goo.gl/p2fr5Q" title="undefined" rel="noopener noreferrer">https://goo.gl/p2fr5Q\\"\>https://goo.gl/p2fr5Q" |
14 |
|
-if: type = pull_request |
15 |
|
-language: node_js |
16 |
|
-node_js: "node" |
17 |
|
-script: |
18 |
|
- - if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then |
19 |
|
-bash -x tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST}; |
20 |
|
-fi |
21 |
|
- |
22 |
|
- - name: "Linter" |
23 |
|
-language: node_js |
24 |
|
-node_js: "node" |
25 |
|
-install: |
26 |
|
- - pyenv global 2.7.15 |
27 |
|
- - make lint-py-build | |
28 |
|
-script: |
29 |
|
- - NODE=$(which node) make lint lint-py |
30 |
|
- |
31 |
|
- - name: "Compile V8" |
|
12 |
+ - stage: "Compile" |
|
13 |
+name: "Compile V8" |
32 |
14 |
cache: ccache |
33 |
15 |
addons: |
34 |
16 |
apt: |
@@ -58,6 +40,7 @@ jobs: |
|
|
58 |
40 |
- cp out/Release/node /home/travis/.ccache |
59 |
41 |
- cp out/Release/cctest /home/travis/.ccache |
60 |
42 |
|
|
43 |
+ - pyenv global 2.7.15 |
61 |
44 |
- stage: "Tests" |
62 |
45 |
name: "Test JS Suites" |
63 |
46 |
cache: ccache |
@@ -85,3 +68,21 @@ jobs: |
|
|
85 |
68 |
- out/Release/cctest |
86 |
69 |
- make -j1 V=1 test/addons/.buildstamp test/js-native-api/.buildstamp test/node-api/.buildstamp |
87 |
70 |
- python tools/test.py -j 2 -p dots --report --mode=release --flaky-tests=dontcare addons js-native-api node-api |
|
71 |
+ |
|
72 |
+ - name: "Linter" |
|
73 |
+language: node_js |
|
74 |
+node_js: "node" |
|
75 |
+install: |
|
76 |
+ - pyenv global 2.7.15 |
|
77 |
+ - make lint-py-build | |
|
78 |
+script: |
|
79 |
+ - NODE=$(which node) make lint lint-py |
|
80 |
+ |
|
81 |
+ - name: "First commit message adheres to guidelines at <a href=\"https://goo.gl/p2fr5Q" title="undefined" rel="noopener noreferrer">https://goo.gl/p2fr5Q\\"\>https://goo.gl/p2fr5Q" |
|
82 |
+if: type = pull_request |
|
83 |
+language: node_js |
|
84 |
+node_js: "node" |
|
85 |
+script: |
|
86 |
+ - if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then |
|
87 |
+bash -x tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST}; |
|
88 |
+fi |