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:
Refael Ackermann 2018-08-20 10:05:28 -04:00 коммит произвёл Michaël Zasso
Родитель 2a849ba241
Коммит 3915537c13
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 770F7A9A5AE15600
1 изменённых файлов: 12 добавлений и 9 удалений

Просмотреть файл

@ -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