Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 22 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ language: cpp
cache: ccache
os: linux
dist: xenial
stages:
- check
- test
matrix:
include:
- name: "First commit message adheres to guidelines at <a href=\"https://goo.gl/p2fr5Q\">https://goo.gl/p2fr5Q</a>"
stage: check
if: type = pull_request
language: node_js
node_js: "node"
Expand All @@ -13,13 +17,27 @@ matrix:
bash -x tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST};
fi
- name: "Linter"
stage: check
language: node_js
node_js: "node"
env:
- NODE=$(which node)
script:
- make lint
- NODE=$(which node) make lint
- name: "Prepare ccache"
stage: check
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
install:
- export CC='ccache gcc-6' CXX='ccache g++-6' JOBS=2
- ./configure
- make -j2 V=
script:
- true
- name: "Test Suite"
stage: test
addons:
apt:
sources:
Expand All @@ -31,4 +49,4 @@ matrix:
- ./configure
- make -j2 V=
script:
- PARALLEL_ARGS='--flaky-tests=skip' make -j1 test
- CI_JS_SUITES='--flaky-tests=skip default' make -j1 test