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