forked from ayojs/ayo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: bah, just move everything into
matrix:
PR-URL: ayojs#75
- Loading branch information
1 parent
50eb4a0
commit c5ff6fc
Showing
1 changed file
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |