fix build

This commit is contained in:
davidnewhall2 2020-02-01 19:25:46 -08:00
parent 2b48c29a84
commit 19653fa419
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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