fix travis config.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2016-07-30 22:05:38 +08:00
parent 30d2fd69b1
commit 008bd3d65d
2 changed files with 18 additions and 19 deletions

View File

@@ -22,12 +22,15 @@ ifeq ($(ANDROID_TEST_TOKEN),)
endif
@echo "Already set ANDROID_API_KEY and ANDROID_TEST_TOKEN globale variable."
install:
glide install
update:
glide update
build: clean
sh script/build.sh $(VERSION)
coverage:
sh ./script/coverage.sh testing atomic
test: redis_test boltdb_test memory_test config_test
go test -v -cover ./gorush/...
@@ -67,12 +70,6 @@ endif
docker tag $(PRODUCTION_IMAGE):latest $(DEPLOY_ACCOUNT)/$(PRODUCTION_IMAGE):$(tag)
docker push $(DEPLOY_ACCOUNT)/$(PRODUCTION_IMAGE):$(tag)
install:
glide install
update:
glide update
fmt:
@echo $(TARGETS_NOVENDOR) | xargs go fmt