-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
44 lines (39 loc) · 990 Bytes
/
.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
os: linux
dist: trusty
sudo: required
language: java
jdk: oraclejdk8
#branches:
# only:
# - master
before_cache:
- rm -rf $HOME/.cache/bazel/_bazel_travis/install/
cache:
directories:
- $HOME/local
- $HOME/.bazel
- $HOME/.cache/bazel
- /nix
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- build-essential
- g++
before_install:
- .travis/install-bazel.sh 0.14.1
- .travis/install-nix.sh
- bazel $BAZEL_OPTS version
- bazel $BAZEL_OPTS info
- bazel $BAZEL_OPTS fetch --curses=no -- "//..."
install:
- bazel $BAZEL_OPTS build $BAZEL_BUILD_OPTS --show_progress_rate_limit 0 -- //...
script:
- bazel $BAZEL_OPTS test $BAZEL_BUILD_OPTS --show_progress_rate_limit 0 --test_output=streamed -- //...
env:
global:
- PATH=$PATH:$HOME/local/bin
- BAZEL_OPTS="--host_jvm_args=-Xmx500m --host_jvm_args=-Xms500m"
- BAZEL_BUILD_OPTS="--curses=no --genrule_strategy=standalone --spawn_strategy=standalone --verbose_failures -j 20"