Skip to content

Commit 79b3423

Browse files
addaleaxtargos
authored andcommitted
build: initial .travis.yml implementation
Refs: ayojs/ayo#14 Refs: ayojs/ayo#75 Co-authored-by: Jeremiah Senkpiel <[email protected]> PR-URL: #21059 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ali Ijaz Sheikh <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Shingo Inoue <[email protected]> Reviewed-By: Matheus Marchini <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
1 parent 5fa5ab6 commit 79b3423

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)