committed by
Brendan Le Glaunec
parent
5d2626b639
commit
fb9c5afc5f
+6
-2
@@ -2,6 +2,9 @@ dist: trusty
|
||||
sudo: required
|
||||
language: go
|
||||
|
||||
env:
|
||||
- DEP_VERSION="0.4.1"
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
@@ -17,13 +20,14 @@ before_install:
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install -y docker-ce
|
||||
- docker version
|
||||
- curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep
|
||||
- chmod +x $GOPATH/bin/dep
|
||||
|
||||
install:
|
||||
- dep ensure
|
||||
- docker build -t cameradar .
|
||||
|
||||
script:
|
||||
- curl https://glide.sh/get | sh
|
||||
- glide install
|
||||
# Run unit tests
|
||||
- go test
|
||||
# Launch a fake camera to check if cameradar is able to access it
|
||||
|
||||
Reference in New Issue
Block a user