From 1d83746cc5412e0c9e2f25348003f124fb4defa5 Mon Sep 17 00:00:00 2001 From: Brian Brazil Date: Thu, 20 Apr 2017 14:30:02 +0100 Subject: [PATCH] Hack to workaround dependency on non-master code. --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index f8ee79713..83e200678 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,12 @@ go: go_import_path: github.com/prometheus/tsdb +install: +# Hack until the dev-2.0 branch becomes master. +- go get -d github.com/prometheus/prometheus/... +- (cd $GOPATH/src/github.com/prometheus/prometheus && git checkout dev-2.0) +- go get -t ./... + script: - go test ./...