From d80a6e20e776b0b17a324d0ba1ab50a39c8e8944 Mon Sep 17 00:00:00 2001
From: Michael Darakananda <pongad@google.com>
Date: Tue, 23 May 2017 14:36:04 +1000
Subject: [PATCH] make travis go get cloud.google.com/go/... (#28)

This makes sure we fail the test before breaking cloud.

Fixes #27.
---
 .travis.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 8ea5b23c..e673e05e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,3 +4,9 @@ go:
   - 1.7
   - 1.8
 go_import_path: google.golang.org/genproto
+
+script:
+- go test -v ./...
+- if [[ "$TRAVIS_BRANCH" == "master" &&  "$TRAVIS_PULL_REQUEST" == "false" ]]; then
+  go get -u -v cloud.google.com/go/...;
+  fi
-- 
GitLab