From c082c3bce35d6d5d829a1e516b9bbf45b6d49bdc Mon Sep 17 00:00:00 2001 From: Ethan Koenig Date: Sun, 10 Dec 2017 18:31:07 -0800 Subject: [PATCH] Restore make test target (#3139) * Restore make test target * make build -> go build --- .drone.yml | 10 ++++++++++ Makefile | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 1f4d2a1faa2d..e9e30d32304c 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 ebafa95c2a57..d7ddd197b484 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