8 Star 16 Fork 0

Gitee 极速下载 / qor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: http://github.com/qor/qor
克隆/下载
.travis.yml 708 Bytes
一键复制 编辑 原始数据 按行查看 历史
language: go
go:
- "1.13"
services:
- mysql
- postgresql
env:
- GO111MODULE=on
before_install:
- mysql -e "CREATE DATABASE IF NOT EXISTS qor_test;"
- mysql -e "GRANT ALL PRIVILEGES ON qor_test.* TO 'qor'@'localhost' IDENTIFIED BY 'qor'"
- psql -c 'create database qor_test;' -U postgres
- psql -c "CREATE USER qor WITH ENCRYPTED PASSWORD 'qor'" -U postgres
- psql -c "GRANT ALL PRIVILEGES ON DATABASE qor_test TO qor" -U postgres
- go get -t -v ./...
script:
- go get -u github.com/goware/modvendor
- go mod vendor
- modvendor -copy="**/*.html **/*.js **/*.css **/*.tmpl **/*.ttf **/*.woff **/*.woff2" -v
- TEST_DB=postgres go test -v ./...
- TEST_DB=mysql go test -v ./...
1
https://gitee.com/mirrors/qor.git
git@gitee.com:mirrors/qor.git
mirrors
qor
qor
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891