From 7f94a2d4c2e2694d9fc7cf422b9ba07912b0d631 Mon Sep 17 00:00:00 2001 From: Kristen Kozak Date: Wed, 3 Aug 2016 16:37:19 -0700 Subject: [PATCH] Adds .travis.yml. --- .travis.yml | 17 +++++++++++++++++ README.md | 1 + 2 files changed, 18 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..5e0e555c2e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +sudo: required +dist: trusty +language: java + +jdk: + - oraclejdk8 + +before_install: + - echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list + - curl https://storage.googleapis.com/bazel-apt/doc/apt-key.pub.gpg | sudo apt-key add - + - sudo apt-get update + +install: + - sudo apt-get install bazel + +script: + - bazel test ... diff --git a/README.md b/README.md index 3b72f69ed8..9198f6ed74 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ Census - A stats collection framework ====================================================== +[![Build Status](https://travis-ci.org/google/census-java.svg?branch=master)](https://travis-ci.org/google/census-java) Census provides a framework to define and collect stats against metrics and to break those stats down across user-defined dimensions.