FIX #1985 Build with Docker on TravisCI

Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
David Gageot 2015-10-23 18:32:22 +02:00
parent e421a07336
commit 956b0bb65c
2 changed files with 7 additions and 13 deletions

View File

@ -1,13 +1,5 @@
language: go
go:
- 1.5.1
install:
- go get github.com/mattn/goveralls
script:
- make dco
- make fmt
# - make lint
- make vet
- make test-short
- make test-long
- make coverage-send
sudo: required
dist: trusty
language: bash
services: docker
script: USE_CONTAINER=true make dco fmt vet test-short test-long coverage-send

View File

@ -29,6 +29,8 @@ test: .ignore
-e TARGET_OS \
-e TARGET_ARCH \
-e PREFIX \
-e TRAVIS_JOB_ID \
-e TRAVIS_PULL_REQUEST \
$(DOCKER_IMAGE_NAME) \
make $@