AMD64
Go: 1.11
Git
language: go
go: "1.11"
services:
- docker
before_install:
# - curl -L -s https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 -o $GOPATH/bin/dep
# - chmod +x $GOPATH/bin/dep
install: true # don't `go get` a bunch of junk, we'll get it with dep
script:
# - dep ensure -vendor-only
# - go test
- bin/docker-build
deploy:
provider: script
script: bin/docker-push
on:
repo: travis-ci/imaged
all_branches: true
notifications:
email: false
Build Config
{
"go": [
"1.11"
],
"os": [
"linux"
],
"dist": "trusty",
"deploy": [
{
"on": {
"repo": "travis-ci/imaged",
"all_branches": true
},
"script": "bin/docker-push",
"provider": "script"
}
],
"script": [
"bin/docker-build"
],
"install": [
"true"
],
"language": "go",
"services": [
"docker"
],
"notifications": {
"email": {
"enabled": false
}
}
}