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:
parent
787ab12605
commit
6d69047fff
@ -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' = '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 "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 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
|
- mkdir -p res/var
|
||||||
- ./ssdb/ssdb-server ./ssdb/ssdb.conf -d
|
- ./ssdb/ssdb-server ./ssdb/ssdb.conf -d
|
||||||
after_script:
|
after_script:
|
||||||
|
Loading…
Reference in New Issue
Block a user