代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/Fyne 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
language: go
go_import_path: fyne.io/fyne
addons:
apt:
packages:
- libgl1-mesa-dev
- libegl1-mesa-dev
- libgles2-mesa-dev
- xorg-dev
gobuild_args: "-v -tags ci"
# Disable travis default install step (go get ${gobuild_args} ./...)
install: true
before_script:
- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)
- GO111MODULE=off go get golang.org/x/tools/cmd/goimports
- GO111MODULE=off go get github.com/fzipp/gocyclo
- GO111MODULE=off go get golang.org/x/lint/golint
- GO111MODULE=off go get github.com/mattn/goveralls
script:
- |
if [ "$GO111MODULE" == "on" ]
then
# For some reason `git diff-index HEAD` does not work properly if the following line is missing.
git diff
# check that go mod tidy does not change go.mod/go.sum
go mod tidy && git diff-index --quiet HEAD -- || ( echo "go.mod/go.sum not up-to-date"; git diff-index HEAD --; false )
fi
- test -z "$(goimports -e -d $GO_FILES | tee /dev/stderr)"
- go test -tags ci ./...
- go vet -tags ci -unsafeptr=false ./...
- golint -set_exit_status $(go list -tags ci ./...)
- gocyclo -over 50 $GO_FILES
- |
set -e
if [[ "$TRAVIS_PULL_REQUEST" == "false" && -n "$COVERALLS_TOKEN" ]]
then
go test -tags ci -covermode=atomic -coverprofile=coverage.out ./...
$(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
fi
env:
global:
- secure: dxsvChfy84dx85yoDA08UQL9/uwuab2St/yzWGfI++tlY1yL+kUNTfaTTY0uiT6Fqwg8rfUdXPA95Z/9bwLPkMJ8p1zwRlxBKjzICTGjB/NDLUYWrZVW+kXOOWrLHEluccrAc5mvWY1/k6KaxqYslanIPOj8j9/7sZJBMsvH8teHjRDGn402sCIBO3SUwthGKktLuAUL5MCiVgo/Eym4mQ2a4OAbZBWqKRQ+7HJunbEzwA/2zOUm/WX3NTy8dg67yyPNLXgMarVsmRXRDYPMlSGfV6Y3kBGizhEGy/u8zXe17KmPjqEKDLWHZZxt0wWYVidERLk1EG2Sm0maIV0i6a+wunCLqQXKHPF8BDwZGftYNbbrED7+4Jnp2h5Y8fS5FlpNAgPZp4YWbOhMpZIhahms3qwGloTGrCj+YvnUu6wnKOnhsvcz2Ibgi+pXr2/3H8lSjAg//P7wRYQN0pvIdacDRD0Vx10bENPAO2IKV7COv/NI0WLrBezDcRS4j60m4EgAdmambKye/mYqERY2P+2e1pMVcn4xaehXxfdyb5MGsZtIh7h0vP9LxVpj+mIVE/WDk36sWPVlTtumVioC5vhr087RrTOj3fNAjHeEMvJa5uiyKxT3UOCx6YORGHkH0i9fz/2QHCA2FBrOdTFv3oe1L2W23iqs9cSx+FxaVCE=
matrix:
include:
- go: 1.12.x
os: linux
env: GO111MODULE=on GOFLAGS=
- go: 1.12.x
os: osx
env: GO111MODULE=off GOFLAGS=
- go: 1.13.x
os: linux
env: GO111MODULE=off GOFLAGS=
- go: 1.13.x
os: osx
env: GO111MODULE=on GOFLAGS=-mod=vendor
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。