forked from bazeltools/bazel-deps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (30 loc) · 1 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
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- libxml2-utils
- wget
# Package list from http://bazel.io/docs/install.html
- pkg-config
- zip
- unzip
- zlib1g-dev
jdk:
- openjdk11
before_install:
- wget 'https://github.com/bazelbuild/bazel/releases/download/0.27.0/bazel-0.27.0-installer-linux-x86_64.sh'
- sha256sum -c .bazel-installer-linux-x86_64.sh.sha256
- chmod +x bazel-0.27.0-installer-linux-x86_64.sh
- ./bazel-0.27.0-installer-linux-x86_64.sh --user
- cp .bazelrc.travis .bazelrc
script:
- bazel build //...
- bazel build @third_party//...
- bazel test --test_output errors //...
- bazel build src/scala/com/github/johnynek/bazel_deps/parseproject_deploy.jar
- ./gen_maven_deps.sh generate -r `pwd` -s 3rdparty/workspace.bzl -d dependencies.yaml --target-file 3rdparty/target_file.bzl
- bazel run //:parse -- format-deps --overwrite --deps $PWD/dependencies.yaml
- git diff --exit-code