Skip to content

Commit

Permalink
Merge pull request kubernetes#1176 from brendandburns/travis
Browse files Browse the repository at this point in the history
Re-enable travis for Go tip
  • Loading branch information
thockin committed Sep 4, 2014
2 parents 779de73 + 53e3bff commit 512b0ab
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 @@ -44,6 +44,11 @@ find_test_pkgs() {
find_test_dirs | 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 512b0ab

Please sign in to comment.