Skip to content

Commit

Permalink
add travis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rmohr committed Nov 15, 2018
1 parent db5229d commit dd02d19
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
dist: trusty
sudo: required

os:
- linux

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
- rpm2cpio
- rpm

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)

- bazel test //test:*

0 comments on commit dd02d19

Please sign in to comment.