build,tools: tweak the travis config
PR-URL: https://github.com/nodejs/node/pull/22417 Reviewed-By: George Adams <george.adams@uk.ibm.com> Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Родитель
2a849ba241
Коммит
3915537c13
21
.travis.yml
21
.travis.yml
|
@ -3,21 +3,24 @@ compiler:
|
|||
- clang
|
||||
sudo: false
|
||||
cache: ccache
|
||||
os: linux
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
- name: "Linter"
|
||||
node_js: "latest"
|
||||
env:
|
||||
- NODE=$(which node)
|
||||
install:
|
||||
- NODE=$(which node) make lint-md-build
|
||||
- make lint-md-build
|
||||
script:
|
||||
- NODE=$(which node) make lint-ci
|
||||
- os: linux
|
||||
- make lint
|
||||
- name: "Test Suite"
|
||||
install:
|
||||
- ./configure
|
||||
- make -j2 V=
|
||||
script:
|
||||
- make -j2 test-ci
|
||||
before_install:
|
||||
- export CXX="ccache clang++ -Qunused-arguments"
|
||||
- export CC="ccache clang -Qunused-arguments -Wno-unknown-warning-option"
|
||||
- export JOBS=2
|
||||
- make -j2 test
|
||||
before_install:
|
||||
- export CXX="ccache clang++ -Qunused-arguments"
|
||||
- export CC="ccache clang -Qunused-arguments -Wno-unknown-warning-option"
|
||||
- export JOBS=2
|
||||
|
|
Загрузка…
Ссылка в новой задаче