-
Notifications
You must be signed in to change notification settings - Fork 37
/
.travis.yml
57 lines (51 loc) · 1.45 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
57
os: linux
dist: bionic
sudo: true
language: java
jdk: openjdk11
cache:
directories:
- ${HOME}/.rbenv
- ${HOME}/.bazel
- ${HOME}/.bundle/gems
addons:
apt:
packages:
- libstdc++6
- build-essential
- g++
- autoconf
- bison
- libssl-dev
- libyaml-dev
- libreadline6-dev
- zlib1g-dev
- libncurses5-dev
- libffi-dev
- libgdbm-dev
before_script:
- rm -f /home/travis/.phpenv/bin/rbenv
- hash -r
- mkdir -p /home/travis/.cache/bazel-out
- mkdir -p /home/travis/.cache/bazel-cache
- rm -f .bazelrc.user
- echo 'build --disk_cache=/home/travis/.cache/bazel-cache' >> .bazelrc.user
- echo 'startup --output_base=/home/travis/.cache/bazel-out' >> .bazelrc.user
- cat .bazelrc
- cat .bazelrc.user
- /usr/bin/env bash bin/setup
- /usr/bin/env bash bin/show-env
script:
- /usr/bin/env bash bin/test-suite
after_script:
- /usr/bin/env bash bin/show-env
env:
global:
- CI=true
- SCREEN_WIDTH=70
- RBENV_ROOT="${HOME}/.rbenv"
- BUNDLE_PATH="${HOME}/.bundle/gems"
- PATH="${HOME}/.rbenv/bin:${HOME}/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin:/opt/local/bin:${PATH}"
- BAZEL_OPTS="--host_jvm_args=-Xmx1200m --host_jvm_args=-Xms1200m"
- BAZEL_BUILD_OPTS="--curses=no --verbose_failures -j 10 --show_progress_rate_limit 0.5"
- BAZEL_TEST_OPTS="--verbose_failures --test_output=streamed --test_verbose_timeout_warnings"