-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (39 loc) · 1.21 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
language: node_js
sudo: required
dist: trusty
node_js:
- '10.9.0'
addons:
# firefox: "38.0"
apt:
sources:
# needed to install g++ that is used by npms's native modules
- ubuntu-toolchain-r-test
packages:
# needed to install g++ that is used by npms's native modules
- g++-4.8
cache:
yarn: true
directories:
- ./node_modules
- ~/bazel_repository_cache
matrix:
fast_finish: true
allow_failures:
- env: "CI_MODE=saucelabs_optional"
- env: "CI_MODE=browserstack_optional"
before_install:
# # source the env.sh script so that the exported variables are available to other scripts later on
# - BAZEL_VERSION="0.24.1"
# - wget -q -O - https://bazel.build/bazel-release.pub.gpg |sudo apt-key add -
# - echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
# - sudo apt-get update
## - sudo apt-get install -y bazel=$BAZEL_VERSION
# - sudo apt-get install bazel
# - sudo rm -rf /var/lib/apt/lists/*
## - source ./scripts/ci/env.sh print
- yarn install
install:
- yarn bazel build --repository_cache=~/bazel_repository_cache
script:
- yarn bazel build libs/triangle:npm_package --config=release