Remove circle old go version

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
Derek McGowan 2015-07-09 21:31:02 -07:00
parent 1ae9cf057e
commit 338c781d48
1 changed files with 0 additions and 14 deletions

View File

@ -13,7 +13,6 @@ machine:
CHECKOUT: /home/ubuntu/$CIRCLE_PROJECT_REPONAME CHECKOUT: /home/ubuntu/$CIRCLE_PROJECT_REPONAME
BASE_DIR: src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME BASE_DIR: src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
# Trick circle brainflat "no absolute path" behavior # Trick circle brainflat "no absolute path" behavior
BASE_OLD: ../../../$HOME/.gvm/pkgsets/old/global/$BASE_DIR
BASE_STABLE: ../../../$HOME/.gvm/pkgsets/stable/global/$BASE_DIR BASE_STABLE: ../../../$HOME/.gvm/pkgsets/stable/global/$BASE_DIR
# Workaround Circle parsing dumb bugs and/or YAML wonkyness # Workaround Circle parsing dumb bugs and/or YAML wonkyness
CIRCLE_PAIN: "mode: set" CIRCLE_PAIN: "mode: set"
@ -25,10 +24,6 @@ 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 &&
mkdir -p "$(dirname $BASE_OLD)" &&
cp -R "$CHECKOUT" "$BASE_OLD"
- > - >
gvm use stable && gvm use stable &&
mkdir -p "$(dirname $BASE_STABLE)" && mkdir -p "$(dirname $BASE_STABLE)" &&
@ -36,9 +31,6 @@ 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:
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
@ -50,7 +42,6 @@ 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 stable && go version - gvm use stable && go version
# FMT # FMT
@ -66,11 +57,6 @@ test:
pwd: $BASE_STABLE pwd: $BASE_STABLE
override: override:
# Test every version we have (but stable)
- gvm use old; godep go test -race -test.v -test.short ./...:
timeout: 600
pwd: $BASE_OLD
# Test stable, and report # Test stable, and report
# Preset the goverall report file # Preset the goverall report file
- echo "$CIRCLE_PAIN" > ~/goverage.report - echo "$CIRCLE_PAIN" > ~/goverage.report