-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (24 loc) · 851 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
# Copied from https://github.com/korfuri/bazel-travis/blob/master/.travis.yml
# Updated to use Bazel 0.8.0
# Changed to cache bazel.deb
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- wget
- pkg-config
before_install:
- while sha256sum -c tools/bazel_0.8.0-linux-x86_64.deb.sha256 ; [ $? -ne 0 ] ; do wget https://github.com/bazelbuild/bazel/releases/download/0.8.0/bazel_0.8.0-linux-x86_64.deb ; done
- sudo dpkg -i bazel_0.8.0-linux-x86_64.deb
# END copied code
cache:
- /home/travis/.cache/bazel/
- bazel_0.8.0-linux-x86_64.deb
script:
- bazel test //src/test/java/me/psanders/utils:all
- bazel test //src/test/java/me/psanders/graph:all
- bazel test //src/test/java/me/psanders/graph/path:all
- bazel test //src/test/java/me/psanders/maps:all
- bazel build RoutePlanner