mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
c6595b3ee8
Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
30 lines
917 B
YAML
30 lines
917 B
YAML
# Note: right now we don't use go-specific features of travis.
|
|
# Later we might automate "go test" etc. (or do it inside a docker container...?)
|
|
|
|
language: go
|
|
|
|
go:
|
|
# This should match the version in the Dockerfile.
|
|
- 1.3.1
|
|
# Test against older versions too, just for a little extra retrocompat.
|
|
- 1.2
|
|
|
|
# Let us have pretty experimental Docker-based Travis workers.
|
|
# (These spin up much faster than the VM-based ones.)
|
|
sudo: false
|
|
|
|
# Disable the normal go build.
|
|
install:
|
|
- export DOCKER_BUILDTAGS='exclude_graphdriver_btrfs exclude_graphdriver_devicemapper' # btrfs and devicemapper fail to compile thanks to a couple missing headers (which we can't install thanks to "sudo: false")
|
|
- export AUTO_GOPATH=1
|
|
|
|
before_script:
|
|
- env | sort
|
|
|
|
script:
|
|
- hack/make.sh validate-dco
|
|
- hack/make.sh validate-gofmt
|
|
- ./hack/make.sh dynbinary
|
|
- DOCKER_CLIENTONLY=1 ./hack/make.sh dynbinary
|
|
|
|
# vim:set sw=2 ts=2:
|