Add .golangci.yml and update dep (#184)

* add .golangci.yml and update dep

Prepare environment for https://golangci.com builds by installing
libcurl-dev.
Also update dep from 0.4.1 to 0.5.0

* Fix coveralls command in TravisCI script
This commit is contained in:
Isaev Denis
2018-11-26 10:47:48 +03:00
committed by Brendan LE GLAUNEC
parent a8c1c8c63b
commit 24f86b74f5
4 changed files with 96 additions and 13 deletions
+3 -3
View File
@@ -3,9 +3,9 @@ sudo: required
language: go
env:
- DEP_VERSION="0.4.1"
- DEP_VERSION="0.5.0"
services:
services:
- docker
before_install:
@@ -35,7 +35,7 @@ install:
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
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken=$COVERALLS_TOKEN
# Launch a fake camera to check if cameradar is able to access it
- docker run -d --name=fake_camera -e RTSP_USERNAME=admin -e RTSP_PASSWORD=12345 -p 8554:8554 ullaakut/rtspatt
# Launch cameradar on the local machine