fix build
This commit is contained in:
parent
2b48c29a84
commit
19653fa419
|
|
@ -36,7 +36,6 @@ before_script:
|
|||
- gpg --import gpg.signing.key
|
||||
- rm -f gpg.signing.key .secret-files.tar
|
||||
- source .metadata.sh
|
||||
- make vendor
|
||||
script:
|
||||
# Test Go and Docker.
|
||||
- make test
|
||||
|
|
|
|||
4
Makefile
4
Makefile
|
|
@ -328,13 +328,13 @@ $(patsubst %,%.darwin.so,$(PLUGINS)):
|
|||
# Extras
|
||||
|
||||
# Run code tests and lint.
|
||||
test: lint
|
||||
test:
|
||||
# Testing.
|
||||
go test -race -covermode=atomic ./...
|
||||
lint:
|
||||
# Checking lint.
|
||||
golangci-lint run $(GOLANGCI_LINT_ARGS)
|
||||
|
||||
|
||||
# Don't run this unless you're ready to debug untested vendored dependencies.
|
||||
deps:
|
||||
go get -u github.com/unifi-poller/unifi
|
||||
|
|
|
|||
Loading…
Reference in New Issue