diff --git a/.travis.yml b/.travis.yml index 763aaa3..30f4526 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,13 @@ language: go go: - - 1.5.4 - - 1.6.3 + - 1.6.4 + - 1.7.5 + - 1.8 script: - - curl -s https://raw.githubusercontent.com/pote/gpm/v1.3.2/bin/gpm > gpm + - curl -s https://raw.githubusercontent.com/pote/gpm/v1.4.0/bin/gpm > gpm - chmod +x gpm - ./gpm install - ./test.sh sudo: false notifications: email: false - diff --git a/Godeps b/Godeps index 610aea5..45633c0 100644 --- a/Godeps +++ b/Godeps @@ -5,5 +5,5 @@ github.com/mreiferson/go-options 33795234b6f327f1be2d78a541893012362a4e0 github.com/bmizerany/assert e17e99893cb6509f428e1728281c2ad60a6b31e3 gopkg.in/fsnotify.v1 v1.2.0 golang.org/x/oauth2 04e1573abc896e70388bd387a69753c378d46466 -golang.org/x/oauth2/google 04e1573abc896e70388bd387a69753c378d46466 google.golang.org/api/admin/directory/v1 a5c3e2a4792aff40e59840d9ecdff0542a202a80 +cloud.google.com/go/compute/metadata v0.7.0 diff --git a/dist.sh b/dist.sh index 3bc45ba..99b13c6 100755 --- a/dist.sh +++ b/dist.sh @@ -1,14 +1,13 @@ #!/bin/bash - # build binary distributions for linux/amd64 and darwin/amd64 -set -e +set -e DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" echo "working dir $DIR" mkdir -p $DIR/dist mkdir -p $DIR/.godeps export GOPATH=$DIR/.godeps:$GOPATH -gpm install +GOPATH=$DIR/.godeps gpm install os=$(go env GOOS) arch=$(go env GOARCH) @@ -16,7 +15,7 @@ version=$(cat $DIR/version.go | grep "const VERSION" | awk '{print $NF}' | sed ' goversion=$(go version | awk '{print $3}') echo "... running tests" -./test.sh || exit 1 +./test.sh for os in windows linux darwin; do echo "... building v$version for $os/$arch"