1 Star 0 Fork 424

迷途の日记/go-admin

forked from go-admin/go-admin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 968 Bytes
一键复制 编辑 原始数据 按行查看 历史
honkui 提交于 2019-12-18 21:02 . improve gf test
language: go
sudo: true
go:
- 1.13.x
env:
- GO111MODULE=on PGPASSWORD=root GOPROXY=https://goproxy.io,https://goproxy.cn,direct
services:
- mysql
- postgresql
before_install:
- mysql -e 'create database `go-admin-test`;'
- createdb -U postgres go-admin-test
before_script:
- echo "USE mysql;\nUPDATE user SET authentication_string=PASSWORD('root') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
- psql -c "ALTER USER postgres WITH PASSWORD 'root';" -U postgres
- go get -u github.com/rakyll/gotest
- go get -u -v github.com/gogf/gf@v1.9.10
- sudo chmod -R 777 $GOPATH/pkg/mod/github.com/gogf/gf@v1.9.10/net/ghttp/ghttp_server_handler.go
- sudo echo -e "\nfunc (s *Server) DefaultHttpHandle(w http.ResponseWriter, r *http.Request) { \n s.handleRequest(w, r) \n}\n" >> $GOPATH/pkg/mod/github.com/gogf/gf@v1.9.10/net/ghttp/ghttp_server_handler.go
script:
- cd /home/travis/gopath/src/github.com/GoAdminGroup/go-admin && make test
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/mitu1993/go-admin.git
git@gitee.com:mitu1993/go-admin.git
mitu1993
go-admin
go-admin
master

搜索帮助