Use relative paths as Travis doesn't setup GOPATH right

This commit is contained in:
Paul Banks 2018-02-21 12:27:30 +00:00
parent 41ae19c677
commit 0166b34b5d
No known key found for this signature in database
GPG Key ID: C25A851A849B8221
1 changed files with 5 additions and 5 deletions

View File

@ -9,12 +9,12 @@ branches:
matrix: matrix:
include: include:
- env: GOTEST_FLAGS="-p 1 -parallel 1" GOTEST_PKGS="./api" - env: GOTEST_PKGS="./api"
- env: GOTEST_FLAGS="-p 1 -parallel 1" GOTEST_PKGS="./agent" - env: GOTEST_PKGS="./agent"
- env: GOTEST_FLAGS="-p 1 -parallel 1" GOTEST_PKGS="./agent/consul" - env: GOTEST_PKGS="./agent/consul"
- env: GOTEST_FLAGS="-p 3 -parallel 1" GOTEST_PKGS="$(go list ./... | egrep -v '(/agent|/agent/consul|/api)$')" - env: GOTEST_PKGS="$(go list ./... | sed 's/github.com\/hashicorp\/consul/./' | egrep -v './agent|./agent/consul|./api')"
script: script:
- make test - GOTEST_FLAGS="-p 3 -parallel 1" make test
sudo: true sudo: true