wesher/.travis.yml

60 lines
1.6 KiB
YAML
Raw Normal View History

2019-03-26 23:27:49 +01:00
language: go
2020-05-10 13:19:27 +02:00
dist: bionic
2019-03-26 23:27:49 +01:00
go:
- "1.13"
2020-05-10 13:11:49 +02:00
- "1.14"
2019-03-26 23:27:49 +01:00
- "master"
os:
- linux
2019-07-12 11:08:41 +02:00
services:
- docker
2019-03-26 23:27:49 +01:00
env:
2020-05-10 13:26:51 +02:00
global:
- CGO_ENABLED=0
- GO111MODULE=on
2019-03-26 23:27:49 +01:00
script: go test -v ./...
cache:
directories:
- $GOPATH/pkg/mod
2019-03-26 23:27:49 +01:00
install: true # skip, handled by "cache" stage
stages:
- cache
- test
2019-03-28 22:11:26 +01:00
- release
2019-03-26 23:27:49 +01:00
jobs:
2020-05-10 13:15:08 +02:00
allow_failures:
- go: "master"
fast_finish: true
2019-03-26 23:27:49 +01:00
include:
- stage: cache
script: go mod download -json
2019-07-12 11:08:41 +02:00
- stage: test
2019-07-13 07:16:31 +02:00
name: end-to-end
2020-05-10 13:11:49 +02:00
go: "1.14"
2019-07-12 11:08:41 +02:00
script: make e2e
2019-03-28 22:11:26 +01:00
- stage: release
script: make release GOARCHES="amd64 arm arm64 mips mipsle mips64 mips64le"
go: "1.14.3" # explicit version to ease reproducibility
if: tag IS present
2019-03-28 22:11:26 +01:00
deploy:
provider: releases
api_key:
secure: "hWSa2rdQDwUrEtRw17L2P2um+nnuAaFm7+k97KYGboW3p0JY+nPJspLshT4XaeTuB4FQMVKQxXY5Tn0aXcp4lLFqXbUrOssFUDXVpL5g0MopX/8lItt0JZ/6L3tJN57lKkEZD8nDRR2f0DYe9c6mOnSG5I+4n5NOBqbhb8S1CD6qS4KU38Ev45X7JB42D6v/KflR7jNVYQ20jIPhVW0VhksB6WiVGBo8aNnKpqQyyNehOdRDw8qtUmj/XzKj6mN8co4WS2UxTb1yQchXq5vkipqdrejgqHy3njhJ6563MKGmGAyvV5Ok8a2BVpAgi9uLf8K74fTAKbJje9RGrGMccCWWuDlKxLtdZKlYgTt2KQgVA9ncaluYSVa6dbk51l1NGYvVYlX0yNwQ0g2iUN0dstKKdqkeqngKDiuaMiSOCeSY7Fv00bWLtLOjOQX644G1o4VLm09iWBAwQHHZhMdBxUks7wo876cKQkW1LgursA4IDoKSi4vZ8KQqeZjoLbJK/QBRhNKA57jI8StoaegZODG4jJRVsHbEA5FmFsHclbzgg7GZD7GyZtX0BJ655NRYis1W44IHLda2Wq7Fz42nPivvjQVhHvyodf50OUU+f4EPJwqEnWgT3dYO23/DEHst4Z/6yY7ivhaBm9N4rJ2Gkn26Bjtz1IGHM0HJxXQoEJE="
file_glob: true
2019-03-28 22:11:26 +01:00
file:
- wesher-*
- wesher.sha256sums
2019-03-28 22:11:26 +01:00
skip_cleanup: true
on:
tags: true