From ba3a1f84572c58edd153f5760afbc8aab1ce1cd7 Mon Sep 17 00:00:00 2001 From: astaxie Date: Mon, 11 Apr 2016 13:15:14 +0800 Subject: [PATCH] update go vet --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 00ae7a48..c72bb052 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,11 +36,11 @@ 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 "if [ $(go version) == *1.[5-9]* ]; then go get github.com/golang/lint/golint; golint ./...; fi" + - sh -c "if [ $(go version) == *1.[5-9]* ]; then go tool vet .; fi" - mkdir -p res/var - ./ssdb/ssdb-server ./ssdb/ssdb.conf -d after_script: -killall -w ssdb-server - rm -rf ./res/var/* script: - - go tool vet . - go test -v ./...