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
21 lines
533 B
YAML
21 lines
533 B
YAML
dist: trusty
|
|
sudo: required
|
|
language: go
|
|
|
|
before_install:
|
|
- sudo apt-get install -y nmap
|
|
- go get github.com/mattn/goveralls
|
|
|
|
script:
|
|
# Run unit tests
|
|
- go test -v -covermode=count -coverprofile=coverage.out
|
|
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken=$COVERALLS_TOKEN
|
|
# Ensure the examples compile
|
|
- for dir in examples/*/; do go build -o $dir/bin $dir/main.go; done
|
|
notifications:
|
|
email:
|
|
recipients:
|
|
- brendan.le-glaunec@epitech.eu
|
|
on_success: never
|
|
on_failure: always
|