summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-12-10 18:31:07 -0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-12-11 10:31:07 +0800
commitc082c3bce35d6d5d829a1e516b9bbf45b6d49bdc (patch)
treee9c56ac2ded0eb7f82b11bd88cc5063ece58c543
parent58a7de2aeae7ca08fc886d3586ee077094a9bc6c (diff)
downloadgitea-c082c3bce35d6d5d829a1e516b9bbf45b6d49bdc.tar.gz
gitea-c082c3bce35d6d5d829a1e516b9bbf45b6d49bdc.zip
Restore make test target (#3139)
* Restore make test target * make build -> go build
-rw-r--r--.drone.yml10
-rw-r--r--Makefile1
2 files changed, 10 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index 1f4d2a1faa..e9e30d3230 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -73,6 +73,16 @@ pipeline:
when:
event: [ push, tag, pull_request ]
+ build-without-gcc:
+ image: webhippie/golang:edge
+ pull: true
+ environment:
+ GOPATH: /srv/app
+ commands:
+ - go build # test if build succeeds without the sqlite tag
+ when:
+ event: [ push, tag, pull_request ]
+
test:
image: webhippie/golang:edge
pull: true
diff --git a/Makefile b/Makefile
index ebafa95c2a..d7ddd197b4 100644
--- a/Makefile
+++ b/Makefile
@@ -131,7 +131,6 @@ fmt-check:
.PHONY: test
test:
- $(GO) build # test if go build succeed without sqlite support
$(GO) test -tags=sqlite $(PACKAGES)
.PHONY: coverage