From ed2ef973d68cadcd4e93c8cc38b8d2e09b7a5456 Mon Sep 17 00:00:00 2001 From: Paul Banks Date: Wed, 21 Feb 2018 12:27:30 +0000 Subject: [PATCH] Use relative paths as Travis doesn't setup GOPATH right --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index f68a9619d..914072e3b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,12 +9,12 @@ branches: matrix: include: - - env: GOTEST_FLAGS="-p 1 -parallel 1" GOTEST_PKGS="./api" - - env: GOTEST_FLAGS="-p 1 -parallel 1" GOTEST_PKGS="./agent" - - env: GOTEST_FLAGS="-p 1 -parallel 1" GOTEST_PKGS="./agent/consul" - - env: GOTEST_FLAGS="-p 3 -parallel 1" GOTEST_PKGS="$(go list ./... | egrep -v '(/agent|/agent/consul|/api)$')" + - env: GOTEST_PKGS="./api" + - env: GOTEST_PKGS="./agent" + - env: GOTEST_PKGS="./agent/consul" + - env: GOTEST_PKGS="$(go list ./... | sed 's/github.com\/hashicorp\/consul/./' | egrep -v './agent|./agent/consul|./api')" script: - - make test + - GOTEST_FLAGS="-p 3 -parallel 1" make test sudo: true