mirror of
https://github.com/hamburghammer/gohttpserver.git
synced 2024-12-22 22:47:41 +01:00
26 lines
468 B
YAML
26 lines
468 B
YAML
sudo: required
|
|
services:
|
|
- docker
|
|
language: go
|
|
go:
|
|
- "1.13"
|
|
env:
|
|
- GO111MODULE=on
|
|
script:
|
|
- go test -v
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- docker-ce
|
|
deploy:
|
|
- provider: script
|
|
skip_cleanup: true
|
|
script: curl -sL https://git.io/goreleaser | bash
|
|
on:
|
|
tags: true
|
|
condition: $TRAVIS_OS_NAME = linux
|
|
- provider: script
|
|
skip_cleanup: true
|
|
script: bash docker/push_images && bash docker/push_manifest
|
|
on:
|
|
branch: master
|