2017-08-23 23:24:50 +02:00
|
|
|
language: cpp
|
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
sudo: false
|
|
|
|
cache: ccache
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
node_js: "latest"
|
2018-06-08 18:37:52 +02:00
|
|
|
install:
|
|
|
|
- NODE=$(which node) make lint-md-build
|
2017-08-23 23:24:50 +02:00
|
|
|
script:
|
|
|
|
- NODE=$(which node) make lint-ci
|
|
|
|
- os: linux
|
|
|
|
install:
|
|
|
|
- ./configure
|
|
|
|
- make -j2 V=
|
|
|
|
script:
|
|
|
|
- make -j2 test-ci
|
|
|
|
before_install:
|
|
|
|
- export HOMEBREW_NO_AUTO_UPDATE=1 # work around https://github.com/travis-ci/travis-ci/issues/7456
|
|
|
|
- if [ $TRAVIS_OS_NAME = osx ]; then brew install ccache; fi
|
|
|
|
- export PATH="/usr/local/opt/ccache/libexec:$PATH"
|
|
|
|
- export CXX="ccache clang++ -Qunused-arguments"
|
|
|
|
- export CC="ccache clang -Qunused-arguments"
|
|
|
|
- export JOBS=2
|