AMD64
Go: 1.11
Git
sudo: true
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:
branch: master
notifications:
email: false
Build Config
{
"go": [
"1.11"
],
"os": [
"linux"
],
"dist": "trusty",
"sudo": true,
"deploy": [
{
"on": {
"branch": [
"master"
]
},
"script": "bin/docker-push",
"provider": "script"
}
],
"script": [
"dep ensure -vendor-only",
"go test",
"bin/docker-build"
],
"install": [
"true"
],
"language": "go",
"services": [
"docker"
],
"notifications": {
"email": {
"enabled": false
}
},
"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"
]
}