summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Boerger <thomas@webhippie.de>2016-11-24 21:36:47 +0100
committerGitHub <noreply@github.com>2016-11-24 21:36:47 +0100
commit21e8deed897a99fc86cd6506ce1bf4a9a8c07fba (patch)
tree53c58c3373f4bc64c432aaeb1e8e48adc076aa15 /Makefile
parent450969c158d36e40b28b89f4fcb0ed89f885ea01 (diff)
parentfd090dc29b2482b60fb821912be2859209aeb1a5 (diff)
downloadgitea-21e8deed897a99fc86cd6506ce1bf4a9a8c07fba.tar.gz
gitea-21e8deed897a99fc86cd6506ce1bf4a9a8c07fba.zip
Merge pull request #96 from metalmatze/feature/drone-config
Create a first draft for .drone.yml
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