Kaynağa Gözat

Restore make test target (#3139)

* Restore make test target

* make build -> go build
tags/v1.4.0-rc1
Ethan Koenig 6 yıl önce
ebeveyn
işleme
c082c3bce3
2 değiştirilmiş dosya ile 10 ekleme ve 1 silme
  1. 10
    0
      .drone.yml
  2. 0
    1
      Makefile

+ 10
- 0
.drone.yml Dosyayı Görüntüle

when: when:
event: [ push, tag, pull_request ] 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: test:
image: webhippie/golang:edge image: webhippie/golang:edge
pull: true pull: true

+ 0
- 1
Makefile Dosyayı Görüntüle



.PHONY: test .PHONY: test
test: test:
$(GO) build # test if go build succeed without sqlite support
$(GO) test -tags=sqlite $(PACKAGES) $(GO) test -tags=sqlite $(PACKAGES)


.PHONY: coverage .PHONY: coverage

Loading…
İptal
Kaydet