2013-12-04 16:47:37 -05:00
# 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
2014-07-29 15:07:59 -04:00
go :
2014-07-07 12:04:23 -04:00
# This should match the version in the Dockerfile.
2014-08-13 02:41:24 -04:00
- 1.3 .1
2014-07-29 15:07:59 -04:00
# Test against older versions too, just for a little extra retrocompat.
- 1.2
2014-07-07 12:04:23 -04:00
# Let us have pretty experimental Docker-based Travis workers.
# (These spin up much faster than the VM-based ones.)
sudo : false
2013-12-04 16:47:37 -05:00
# Disable the normal go build.
2014-07-19 14:04:27 -04:00
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")
2014-08-01 13:34:06 -04:00
- export AUTO_GOPATH=1
2013-12-04 16:47:37 -05:00
before_script :
- env | sort
script :
2014-04-04 02:37:50 -04:00
- hack/make.sh validate-dco
- hack/make.sh validate-gofmt
2014-08-01 13:34:06 -04:00
- ./hack/make.sh dynbinary
- DOCKER_CLIENTONLY=1 ./hack/make.sh dynbinary
2013-12-04 16:47:37 -05:00
# vim:set sw=2 ts=2: