forked from bazelbuild/rules_docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (29 loc) · 805 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
dist: trusty
sudo: required
os:
- linux
python:
- "2.7"
jdk:
- oraclejdk8 # Building Bazel requires JDK8.
language: go
go: 1.10.x
install: true
services:
- docker
addons:
apt:
sources:
- sourceline: 'deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8'
key_url: 'https://bazel.build/bazel-release.pub.gpg'
packages:
- bazel
install:
- go get -u github.com/bazelbuild/buildifier/buildifier
script:
# Check for issues with the format of our bazel config files.
- buildifier -mode=check $(find . -name BUILD -type f)
- buildifier -mode=check $(find . -name WORKSPACE -type f)
- buildifier -mode=check $(find . -name '*.bzl' -type f)
# Test things by executing the various build configurations under testing/
- ./testing/e2e.sh