-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
56 lines (54 loc) · 1.64 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
branches:
only:
- dev
language: cpp
matrix:
include:
- os: linux
dist: bionic
install:
- ./installers/install_bazel.sh
- ./installers/install_nodejs.sh && nvm alias default v12.14.0 && nvm use default
script:
- bazel build //examples/...
- node examples/calculator.js
- node examples/point.js
- node examples/rect.js
after_failure:
- find bazel-out/ -name "test.log" | xargs cat
- os: osx
osx_image: xcode10.2
compiler: clang
env:
- PYTHON2_BIN_PATH=/usr/local/bin/python
- PATH="/Users/travis/.pyenv:$PATH"
before_install:
- eval "$(pyenv init -)"
install:
- ./installers/install_bazel.sh
- ./installers/install_nodejs.sh && nvm alias default v12.14.0 && nvm use default
script:
- bazel build //examples/...
- node examples/calculator.js
- node examples/point.js
- node examples/rect.js
after_failure:
- find bazel-out/ -name "test.log" | xargs cat
- os: windows
env:
- PYTHON2_BIN_PATH=/c/ProgramData/chocolatey/bin/python.exe
- PATH="$PATH:/c/Program Files/nodejs:/c/Users/travis/AppData/Roaming/npm"
install:
- choco install bazel --version 1.2.0
- choco install nodejs.install --version 12.14.0
script:
- bazel build //examples/...
- node examples/calculator.js
- node examples/point.js
- node examples/rect.js
after_failure:
- find bazel-out/ -name "test.log" | xargs cat
notifications:
email:
on_success: always
on_failure: always