1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 03:00:55 +00:00

update go vet

This commit is contained in:
astaxie 2018-07-30 15:13:04 +08:00
parent 787ab12605
commit 6d69047fff

View File

@ -45,7 +45,7 @@ before_script:
- sh -c "if [ '$ORM_DRIVER' = 'mysql' ]; then mysql -u root -e 'create database orm_test;'; fi"
- sh -c "if [ '$ORM_DRIVER' = 'sqlite' ]; then touch $TRAVIS_BUILD_DIR/orm_test.db; fi"
- sh -c "go get github.com/golang/lint/golint; golint ./...;"
- sh -c "go tool vet . | grep -v /vendor/"
- sh -c "go list ./... | grep -v vendor | xargs go vet -v"
- mkdir -p res/var
- ./ssdb/ssdb-server ./ssdb/ssdb.conf -d
after_script: