Skip to content

Commit 7612024

Browse files
addaleaxrvagg
authored andcommittedNov 28, 2018
build: initial .travis.yml implementation
Refs: ayojs/ayo#14 Refs: ayojs/ayo#75 Co-authored-by: Jeremiah Senkpiel <fishrock123@rocketmail.com> PR-URL: #21059 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Shingo Inoue <leko.noor@gmail.com> Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
1 parent f70e79a commit 7612024

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
!.mailmap
1515
!.nycrc
1616
!.remarkrc
17+
!.travis.yml
1718

1819
core
1920
vgcore.*

‎.travis.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
language: cpp
2+
compiler:
3+
- clang
4+
sudo: false
5+
cache: ccache
6+
matrix:
7+
include:
8+
- os: linux
9+
node_js: "latest"
10+
script:
11+
- NODE=$(which node) make lint-ci
12+
- os: linux
13+
install:
14+
- ./configure
15+
- make -j2 V=
16+
script:
17+
- make -j2 test-ci
18+
before_install:
19+
- export HOMEBREW_NO_AUTO_UPDATE=1 # work around https://github.com/travis-ci/travis-ci/issues/7456
20+
- if [ $TRAVIS_OS_NAME = osx ]; then brew install ccache; fi
21+
- export PATH="/usr/local/opt/ccache/libexec:$PATH"
22+
- export CXX="ccache clang++ -Qunused-arguments"
23+
- export CC="ccache clang -Qunused-arguments"
24+
- export JOBS=2

0 commit comments

Comments
 (0)
Please sign in to comment.