Skip to content

Commit

Permalink
Restore make test target (go-gitea#3139)
Browse files Browse the repository at this point in the history
* Restore make test target

* make build -> go build
  • Loading branch information
ethantkoenig authored and lunny committed Dec 11, 2017
1 parent 58a7de2 commit c082c3b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c082c3b

Please sign in to comment.