2017-08-23 23:24:50 +02:00
|
|
|
language: cpp
|
|
|
|
cache: ccache
|
2018-08-20 16:05:28 +02:00
|
|
|
os: linux
|
2017-08-23 23:24:50 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
2018-11-08 19:27:39 +01:00
|
|
|
- name: "First commit message adheres to guidelines at <a href=\"https://goo.gl/p2fr5Q\">https://goo.gl/p2fr5Q</a>"
|
|
|
|
if: type = pull_request
|
|
|
|
language: node_js
|
|
|
|
node_js: "node"
|
|
|
|
script:
|
|
|
|
- if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
|
|
|
|
bash -x tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST};
|
|
|
|
fi
|
2018-08-20 16:05:28 +02:00
|
|
|
- name: "Linter"
|
2018-11-06 18:57:04 +01:00
|
|
|
language: node_js
|
|
|
|
node_js: "node"
|
2018-09-21 08:33:34 +02:00
|
|
|
env:
|
2018-08-20 16:05:28 +02:00
|
|
|
- NODE=$(which node)
|
2017-08-23 23:24:50 +02:00
|
|
|
script:
|
2018-08-20 16:05:28 +02:00
|
|
|
- make lint
|
|
|
|
- name: "Test Suite"
|
2018-10-20 04:14:35 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.9
|
2017-08-23 23:24:50 +02:00
|
|
|
install:
|
2018-10-20 04:14:35 +02:00
|
|
|
- export CC='ccache gcc-4.9' CXX='ccache g++-4.9' JOBS=2
|
2017-08-23 23:24:50 +02:00
|
|
|
- ./configure
|
|
|
|
- make -j2 V=
|
|
|
|
script:
|
2018-10-20 04:14:35 +02:00
|
|
|
- PARALLEL_ARGS='--flaky-tests=skip' make -j1 test
|