summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 6415497163a151cf6105740d405d14f8f18e5f75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: cpp
compiler:
  - clang
sudo: false
cache: ccache
matrix:
  include:
    - os: linux
      node_js: "latest"
      install:
        - NODE=$(which node) make lint-md-build
      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