Browse Source

Restore make test target (#3139)

* Restore make test target

* make build -> go build
for-closed-social
Ethan Koenig 6 years ago
committed by Lunny Xiao
parent
commit
c082c3bce3
2 changed files with 10 additions and 1 deletions
  1. +10
    -0
      .drone.yml
  2. +0
    -1
      Makefile

+ 10
- 0
.drone.yml View File

@ -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

+ 0
- 1
Makefile View File

@ -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

Loading…
Cancel
Save