forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: initial .travis.yml implementation
Refs: ayojs/ayo#14 Refs: ayojs/ayo#75 Co-authored-by: Jeremiah Senkpiel <fishrock123@rocketmail.com>
- Loading branch information
1 parent
c1012b4
commit 30521c8
Showing
2 changed files
with
31 additions
and
0 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 |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
!.mailmap | ||
!.nycrc | ||
!.remarkrc | ||
!.travis.yml | ||
|
||
core | ||
vgcore.* | ||
|
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
language: cpp | ||
compiler: | ||
- clang | ||
sudo: false | ||
cache: ccache | ||
matrix: | ||
include: | ||
- os: linux | ||
node_js: "8" | ||
script: | ||
- NODE=$(which node) make lint-ci | ||
- 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 |