Add enterprise tests to CI and Makefile

This commit is contained in:
Cody Soyland 2018-05-14 17:38:39 -05:00
parent 513c7fd705
commit b4b28cb8bd
2 changed files with 5 additions and 0 deletions

View file

@ -10,6 +10,7 @@ env:
matrix:
- GOARCH=386
- GOARCH=amd64
- GOARCH=amd64 TESTFLAGS="-tags enterprise"
install:
- make install-dep install-statik vendor generate-statik
script:

View file

@ -26,6 +26,10 @@ vendor: Gopkg.toml
test: vendor
go test ./... $(TESTFLAGS)
# Run EE test suite
test-ee:
make test TESTFLAGS="-tags enterprise"
# Run test suite with coverage enabled
cover: vendor
mkdir -p build