5849898283
Unit tests functional and coverage back to 100% Add more routes to dictionary, add more credentials, add default port 5554, rename cameradar logs ENV variable, improve unit test readability, remove tmp file
26 lines
562 B
YAML
26 lines
562 B
YAML
language: go
|
|
|
|
# prevent double test runs for PRs
|
|
branches:
|
|
only:
|
|
- "master"
|
|
|
|
# In theory, older versions would probably work fine, but since this isn't a
|
|
# library, I'm not going to worry about older versions for now.
|
|
go:
|
|
- tip
|
|
- 1.11.x
|
|
- 1.10.x
|
|
- 1.9.x
|
|
- 1.8.x
|
|
- 1.7.x
|
|
|
|
# don't call go get ./... because this hides when deps are
|
|
# not packaged into the vendor directory.
|
|
install: true
|
|
|
|
# don't call go test -v because we want to be able to only show t.Log output when
|
|
# a test fails
|
|
script:
|
|
- go vet ./...
|
|
- go test -tags CI -race ./... |