forked from yugui/jsonnetunit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (37 loc) · 920 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
os: linux
dist: trusty
sudo: false
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
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- build-essential
- g++
before_install:
- .travis/install-bazel.sh 0.13.0
- bazel version
- bazel info
- bazel fetch --curses=no -- "//... -//:jsonnetunit-docs"
install:
- bazel build $BAZEL_BUILD_OPTS --show_progress_rate_limit 0 -- //... -//:jsonnetunit-docs
- bazel build $BAZEL_BUILD_OPTS -- //:jsonnetunit-docs
script:
- bazel test $BAZEL_BUILD_OPTS --show_progress_rate_limit 0 --test_output=streamed -- //...
env:
global:
- PATH=$PATH:$HOME/local/bin
- BAZEL_BUILD_OPTS="--curses=no --genrule_strategy=standalone --spawn_strategy=standalone --verbose_failures -j 20"