Test on Go v1.15.x & v1.16.x

This commit is contained in:
loyalsoldier 2021-05-18 13:27:06 +08:00
parent 069cbd5011
commit 765e96446b
No known key found for this signature in database
GPG Key ID: 23829BBC1ACF2C90
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,8 @@ language: go
go:
- "1.14.x"
- "1.15.x"
- "1.16.x"
services:
- redis-server
- mysql
@ -12,7 +14,7 @@ env:
global:
- GO_REPO_FULLNAME="github.com/beego/beego/v2"
matrix:
- ORM_DRIVER=sqlite3 ORM_SOURCE=$TRAVIS_BUILD_DIR/orm_test.db
- ORM_DRIVER=sqlite3 ORM_SOURCE=$TRAVIS_BUILD_DIR/orm_test.db
- ORM_DRIVER=postgres ORM_SOURCE="user=postgres dbname=orm_test sslmode=disable"
- ORM_DRIVER=mysql export ORM_SOURCE="root:@/orm_test?charset=utf8"
before_install:

View File

@ -2,6 +2,7 @@
- Lint: use golangci-lint. [4619](https://github.com/beego/beego/pull/4619)
- Chore: format code. [4615](https://github.com/beego/beego/pull/4615)
- Test on Go v1.15.x & v1.16.x. [4614](https://github.com/beego/beego/pull/4614)
- Env: non-empty GOBIN & GOPATH. [4613](https://github.com/beego/beego/pull/4613)
- Chore: update dependencies. [4611](https://github.com/beego/beego/pull/4611)
- Update orm_test.go/TestInsertOrUpdate with table-driven. [4609](https://github.com/beego/beego/pull/4609)