mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
8c3f903e4e
PR-URL: https://github.com/nodejs/node/pull/24198 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
31 lines
754 B
YAML
31 lines
754 B
YAML
language: cpp
|
|
sudo: false
|
|
cache: ccache
|
|
os: linux
|
|
matrix:
|
|
include:
|
|
- name: "Linter"
|
|
language: node_js
|
|
node_js: "node"
|
|
env:
|
|
- NODE=$(which node)
|
|
script:
|
|
- make lint
|
|
# Lint the first commit in the PR.
|
|
- if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
|
|
bash tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST} || true;
|
|
fi
|
|
- name: "Test Suite"
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- g++-4.9
|
|
install:
|
|
- export CC='ccache gcc-4.9' CXX='ccache g++-4.9' JOBS=2
|
|
- ./configure
|
|
- make -j2 V=
|
|
script:
|
|
- PARALLEL_ARGS='--flaky-tests=skip' make -j1 test
|