aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index d7d37106c5..a33d54ca21 100644
--- a/Makefile
+++ b/Makefile
@@ -19,11 +19,11 @@ PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
TAGS ?=
-ifneq ($(TRAVIS_TAG),)
- VERSION ?= $(TRAVIS_TAG)
+ifneq ($(DRONE_TAG),)
+ VERSION ?= $(DRONE_TAG)
else
- ifneq ($(TRAVIS_BRANCH),)
- VERSION ?= $(TRAVIS_BRANCH)
+ ifneq ($(DRONE_BRANCH),)
+ VERSION ?= $(DRONE_BRANCH)
else
VERSION ?= master
endif
@@ -62,6 +62,14 @@ lint:
test:
for PKG in $(PACKAGES); do go test -cover -coverprofile $$GOPATH/src/$$PKG/coverage.out $$PKG || exit 1; done;
+.PHONY: test-mysql
+test-mysql:
+ @echo "Not integrated yet!"
+
+.PHONY: test-pgsql
+test-pgsql:
+ @echo "Not integrated yet!"
+
.PHONY: check
check: test