blob: 0446ba4e1a5b4aea8f35124cb598a02eaf61bf39 [file] [log] [blame]
meta:
project: gotestyourself
mount=source:
bind: .
path: /go/src/github.com/gotestyourself/gotestyourself
mount=depsources:
bind: ./.depsources
path: /go/pkg/dep/sources
image=builder:
image: gotestyourself-dev
context: dobifiles/
dockerfile: Dockerfile
args:
GOLANG_VERSION: '{env.GOLANG_VERSION:}'
image=linter:
image: gotestyourself-lint
context: dobifiles/
dockerfile: Dockerfile.lint
job=shell:
use: builder
mounts: [source, depsources]
interactive: true
command: sh
job=watch:
use: builder
mounts: [source]
interactive: true
command: scripts/watch
env: ['TESTFLAGS={env.TESTFLAGS:}']
job=test-unit:
use: builder
mounts: [source]
interactive: true
command: scripts/test-unit
job=deps:
use: builder
mounts: [source, depsources]
command: dep ensure
job=lint:
use: linter
mounts: [source]
job=binary-testsum:
use: builder
mounts: [source]
command: scripts/binary-testsum
alias=test:
tasks: [test-unit]