Disable go1.3 tests for circle and upgrade to go1.4.2

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day 2015-04-22 12:54:01 -07:00
parent aa09c6c262
commit 36093aaf8b

View file

@ -6,8 +6,8 @@ machine:
post: post:
# Install many go versions # Install many go versions
- gvm install go1.3.3 -B --name=old # - gvm install go1.3.3 -B --name=old
- gvm install go1.4 -B --name=stable - gvm install go1.4.2 -B --name=stable
# - gvm install tip --name=bleed # - gvm install tip --name=bleed
environment: environment:
@ -28,10 +28,10 @@ machine:
dependencies: dependencies:
pre: pre:
# Copy the code to the gopath of all go versions # Copy the code to the gopath of all go versions
- > # - >
gvm use old && # gvm use old &&
mkdir -p "$(dirname $BASE_OLD)" && # mkdir -p "$(dirname $BASE_OLD)" &&
cp -R "$CHECKOUT" "$BASE_OLD" # cp -R "$CHECKOUT" "$BASE_OLD"
- > - >
gvm use stable && gvm use stable &&
@ -45,8 +45,8 @@ dependencies:
override: override:
# Install dependencies for every copied clone/go version # Install dependencies for every copied clone/go version
- gvm use old && go get github.com/tools/godep: # - gvm use old && go get github.com/tools/godep:
pwd: $BASE_OLD # pwd: $BASE_OLD
- gvm use stable && go get github.com/tools/godep: - gvm use stable && go get github.com/tools/godep:
pwd: $BASE_STABLE pwd: $BASE_STABLE
@ -63,7 +63,7 @@ dependencies:
test: test:
pre: pre:
# Output the go versions we are going to test # Output the go versions we are going to test
- gvm use old && go version # - gvm use old && go version
- gvm use stable && go version - gvm use stable && go version
# - gvm use bleed && go version # - gvm use bleed && go version
@ -81,9 +81,9 @@ test:
override: override:
# Test every version we have (but stable) # Test every version we have (but stable)
- gvm use old; godep go test -test.v -test.short ./...: # - gvm use old; godep go test -test.v -test.short ./...:
timeout: 600 # timeout: 600
pwd: $BASE_OLD # pwd: $BASE_OLD
# - gvm use bleed; go test -test.v -test.short ./...: # - gvm use bleed; go test -test.v -test.short ./...:
# timeout: 600 # timeout: 600