Skip to content

Commit

Permalink
ci: bah, just move everything into matrix:
Browse files Browse the repository at this point in the history
PR-URL: ayojs#75
  • Loading branch information
Fishrock123 committed Sep 21, 2017
1 parent 50eb4a0 commit c5ff6fc
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,30 @@
language: cpp
compiler:
- clang
os:
- linux
- osx
sudo: false
cache: ccache
matrix:
include:
- os: linux
env: LINTER_ONLY=true
script:
- make lint
- os: linux
install:
- ./configure
- make -j2 V=
script:
- make -j2 test-ci
- os: osx
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
install:
- ./configure
- make -j2 V=
script:
- tools/run-ci.sh # do linter env variable detection
- export JOBS=2n

0 comments on commit c5ff6fc

Please sign in to comment.