代码拉取完成,页面将自动刷新
language: go
sudo: required
go:
- 1.21.x
go_import_path: github.com/vaporz/turbo
before_install:
# execute all of the commands which need to be executed
# before installing dependencies
- ./.travis/install-thrift.sh
- ./.travis/install-protoc.sh 3.1.0
- go get github.com/mattn/goveralls
install:
# install all of the dependencies you need here
- export GO111MODULE=on
- export GOBIN="$HOME/local/bin"
- go get github.com/golang/protobuf/protoc-gen-go
- cd $GOPATH/src/github.com/vaporz/turbo
- go mod tidy
- make install
before_script:
# execute all of the commands which need to be executed
# before running actual tests
# for example:
#- mysql -u root -e 'CREATE DATABASE test'
#- bin/doctrine-migrations migrations:migrate
script:
# execute all of the commands which should make the build pass or fail
- $HOME/gopath/bin/goveralls -service=travis-ci -ignore=protoc-gen-buildfields/*,test/testservice/*,test/testservice/*/*,test/testservice/*/*/*,test/testservice/*/*/*/*/*,test/testservice/*/*/*/*/*/*,turbo/*,turbo/cmd/root.go,*.pb.go
env:
global:
- "PATH=$PATH:$HOME/local/bin"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。