trying to fix project build with more complex structure

This commit is contained in:
josebarn
2017-08-15 21:44:34 -03:00
parent 22f185ed91
commit 143beb1024
2 changed files with 11 additions and 4 deletions

View File

@@ -5,9 +5,10 @@ workspace:
pipeline:
build:
image: golang
script:
- go get
build:
image: golang:${GO_VERSION}
commands:
- go get ./...
- go build
unit-test:
@@ -22,3 +23,9 @@ pipeline:
dockerfile: ./docker/Dockerfile
secrets: [ DOCKER_USERNAME, DOCKER_PASSWORD ]
# debug: true
matrix:
GO_VERSION:
- latest
- "1.7"
- "1.6"