2018-09-26 07:52:24 +02:00
|
|
|
sudo: required
|
|
|
|
services:
|
|
|
|
- docker
|
2016-07-30 03:31:00 +02:00
|
|
|
language: go
|
|
|
|
go:
|
2020-10-10 07:49:51 +02:00
|
|
|
- "1.13"
|
2018-11-26 03:32:22 +01:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
2016-07-30 03:31:00 +02:00
|
|
|
script:
|
|
|
|
- go test -v
|
2018-09-26 10:40:05 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- docker-ce
|
2018-09-25 10:12:11 +02:00
|
|
|
deploy:
|
|
|
|
- provider: script
|
|
|
|
skip_cleanup: true
|
|
|
|
script: curl -sL https://git.io/goreleaser | bash
|
|
|
|
on:
|
|
|
|
tags: true
|
|
|
|
condition: $TRAVIS_OS_NAME = linux
|
2018-09-26 07:52:24 +02:00
|
|
|
- provider: script
|
2018-09-26 10:44:42 +02:00
|
|
|
skip_cleanup: true
|
2018-09-26 10:49:39 +02:00
|
|
|
script: bash docker/push_images && bash docker/push_manifest
|
2018-09-26 07:52:24 +02:00
|
|
|
on:
|
|
|
|
branch: master
|