1 Star 1 Fork 20

中华田园人 / Volcano

forked from Gitee 极速下载 / Volcano 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.65 KB
一键复制 编辑 原始数据 按行查看 历史
husheng 提交于 2019-07-02 18:49 . Try kind 0.4.0 for Travis
dist: xenial
language: go
go:
- '1.11.x'
sudo: required
env:
- HOME=/home/travis
services:
- docker
go_import_path: volcano.sh/volcano
jobs:
include:
- stage: Golint & Gofmt
before_script:
- go get -u golang.org/x/lint/golint
script:
- make verify
- stage: UT Tests
before_script:
- go get github.com/mattn/goveralls
script:
- make unit-test && $HOME/gopath/bin/goveralls -coverprofile=coverage.txt -service=travis-ci
- stage: E2E Tests
before_script:
# Download kubectl
- sudo apt-get update && sudo apt-get install -y apt-transport-https
- curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
- echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list
- sudo apt-get update
- sudo apt-get install -y kubectl
# Download kind binary (0.2.0)
- sudo curl -o /usr/local/bin/kind -L https://github.com/kubernetes-sigs/kind/releases/download/v0.4.0/kind-linux-amd64
- sudo chmod +x /usr/local/bin/kind
script:
- make vkctl
- make images
- make e2e-test-kind
after_failure:
# Echo logs and upload
- test -f volcano-admission.log && echo "******<<admission logs>>******" && cat volcano-admission.log
- test -f volcano-controller.log && echo "******<<controller logs>>******" && cat volcano-controller.log
- test -f volcano-scheduler.log && echo "******<<scheduler logs>>******" && cat volcano-scheduler.log
notifications:
webhooks: https://www.travisbuddy.com/
on_success: never
Go
1
https://gitee.com/Chinese_pastoral_person/Volcano.git
git@gitee.com:Chinese_pastoral_person/Volcano.git
Chinese_pastoral_person
Volcano
Volcano
master

搜索帮助