Skip to content

Commit

Permalink
Re-enable travis for Go tip
Browse files Browse the repository at this point in the history
  • Loading branch information
brendandburns committed Sep 4, 2014
1 parent 42eea82 commit 53e3bff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: go

go:
- tip
- 1.3
- 1.2

Expand Down
5 changes: 5 additions & 0 deletions hack/test-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ find_test_dirs() {
\) -name '*_test.go' -print0 | xargs -0n1 dirname | sort -u | xargs -n1 printf "${KUBE_GO_PACKAGE}/%s\n"
}

# there is currently a race in the coverage code in tip. Remove this when it is fixed
# see https://code.google.com/p/go/issues/detail?id=8630 for details.
if [[ ${TRAVIS_GO_VERSION} eq "tip" ]]; then
KUBE_COVER=""
fi
# -covermode=atomic becomes default with -race in Go >=1.3
KUBE_COVER=${KUBE_COVER:--cover -covermode=atomic}
KUBE_TIMEOUT=${KUBE_TIMEOUT:--timeout 30s}
Expand Down

0 comments on commit 53e3bff

Please sign in to comment.