mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #1176 from brendandburns/travis
Re-enable travis for Go tip
This commit is contained in:
commit
512b0ab90a
@ -1,6 +1,7 @@
|
|||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
|
- tip
|
||||||
- 1.3
|
- 1.3
|
||||||
- 1.2
|
- 1.2
|
||||||
|
|
||||||
|
@ -44,6 +44,11 @@ find_test_pkgs() {
|
|||||||
find_test_dirs | xargs -n1 printf "${KUBE_GO_PACKAGE}/%s\n"
|
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
|
# -covermode=atomic becomes default with -race in Go >=1.3
|
||||||
KUBE_COVER=${KUBE_COVER:--cover -covermode=atomic}
|
KUBE_COVER=${KUBE_COVER:--cover -covermode=atomic}
|
||||||
KUBE_TIMEOUT=${KUBE_TIMEOUT:--timeout 30s}
|
KUBE_TIMEOUT=${KUBE_TIMEOUT:--timeout 30s}
|
||||||
|
Loading…
Reference in New Issue
Block a user