From 9acf4c54927c14fde72d60824f9e1b47d30b74f2 Mon Sep 17 00:00:00 2001 From: Refael Ackermann Date: Mon, 20 Aug 2018 10:05:28 -0400 Subject: [PATCH] build,tools: tweak the travis config PR-URL: https://github.com/nodejs/node/pull/22417 Reviewed-By: George Adams Reviewed-By: Matheus Marchini Reviewed-By: Joyee Cheung Reviewed-By: Richard Lau Reviewed-By: Anna Henningsen Reviewed-By: Gibson Fahnestock Reviewed-By: Luigi Pinca Reviewed-By: Ruben Bridgewater --- .travis.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 11cb2a2f12758b..f6bbd1421b24ca 100644 --- a/.travis.yml +++ b/.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