加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/open-falcon/falcon-plus
克隆/下载
.travis.yml 845 Bytes
一键复制 编辑 原始数据 按行查看 历史
laiwei 提交于 2021-07-27 13:24 . migrate to go mod from govendor (#937)
sudo: required
language: go
arch:
- amd64
- arm64
go:
- "1.15"
env:
- DB_USER=root DB_PASSWORD=test123456 DB_HOST=127.0.0.1 DB_PORT=13306 REDIS_HOST=127.0.0.1 REDIS_PORT=16379 API_PORT=18080 API_HOST=127.0.0.1
services:
- docker
before_install:
- tmpdaemon=$(mktemp)
- sudo jq '."registry-mirrors" += ["https://mirror.gcr.io"]' /etc/docker/daemon.json > $tmpdaemon
- sudo mv $tmpdaemon /etc/docker/daemon.json
- sudo systemctl daemon-reload
- sudo systemctl restart docker
- docker system info
script:
- go get -u github.com/go-sql-driver/mysql
- make fmt
- make fmt-check
- make misspell-check
- make all
- bash ./docker_test.sh
after_success:
- go test -race -coverprofile=coverage.txt -covermode=atomic github.com/open-falcon/falcon-plus/modules/api/test
- bash <(curl -s https://codecov.io/bash)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化