Files
kubesphere/.travis.yml
zryfish ea88c8803d use istio client-go library instead of knative (#1661)
use istio client-go library instead of knative
bump kubernetes dependency version
change code coverage to codecov
2019-12-13 11:26:18 +08:00

41 lines
551 B
YAML

services:
- docker
language: go
dist: xenial
git:
depth: false
go:
- "1.12.x"
- "tip"
env:
- GO111MODULE=on
cache:
directories:
- $HOME/gopath/pkg/mod
before_script:
- docker --version
- bash hack/install_kubebuilder.sh
script:
- diff -u <(echo -n) <(gofmt -d ./pkg ./cmd ./tools)
- make openapi
- make all
before_install:
- go get -t -v ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
skip_cleanup: true
provider: script
script: bash hack/docker_build.sh
on:
branch: master