From ac66b6f04378e6a79018898145538558be94969e Mon Sep 17 00:00:00 2001 From: Marius Date: Wed, 21 Sep 2016 00:05:52 +0200 Subject: [PATCH] update travis --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 74747ca..3702c92 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,9 +21,10 @@ matrix: allow_failures: - go: tip install: -- export PACKAGES=$(find ./ -maxdepth 1 -type d -not \( -name ".git" -or -name "cmd" -or -name ".infra" -or -name "vendor" -or -name "data" -or -name ".hooks" \)) +- export PACKAGES=$(find ./ -maxdepth 2 -name '*.go' -printf '%h\n' | sort | uniq) - rsync -r ./vendor/ $GOPATH/src -- go get $PACKAGES +- go get github.com/aws/aws-sdk-go +- go get github.com/hashicorp/consul script: - go test $PACKAGES before_deploy: