-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
37 lines (31 loc) · 1.35 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
language: go
sudo: false
go:
- 1.x
- master
env:
global:
- GO111MODULE=on
- BUILD_GOOS=linux
matrix:
- BUILD_GOARCH=amd64
- BUILD_GOARCH=arm BUILD_GOARM=5
- BUILD_GOARCH=arm BUILD_GOARM=6
- BUILD_GOARCH=arm BUILD_GOARM=7
matrix:
allow_failures:
- go: master
script:
- GOARCH=${BUILD_GOARCH} GOARM=${BUILD_GOARM} GOOS=${BUILD_GOOS} go build -o "docker-systemd-shim.${BUILD_GOARCH}${BUILD_GOARM}" -ldflags="-s -w"
- ls -lah
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: KBIUpq8hOLDghMgDUCWhFAKH0Q+tv/JvkmjTm7rrX3AMzzQl8MsXe1c4BiLmX6GSBcZG2L2EUDCIf1YM1pVroWEJmO1PrPTfeNZ880PenfQbJMsmyd7AdEz+n638IiwbHBfwKaPWQ94kmQWE3l3TW0oKS01eVoNKeAW5m2yJAyScPNZS2ot56UvXC/uXeaLaSkZQaCHYwbpmi9dpaOCwPNtFcGu2NJkbgHGYtPRiCAyrKOHQj7PliVVjt/bycQ0jtL//RXRNh4iP6JTo9cAoG4w+7IrTO9itckGh2ZgID0FbOxDLIjxXTjzTl0Jv6rbg/HDcwK/dSrGF6b0e2I6tO4UkTwTfbCAFx0tAw+SB7iOWqDB1EkuYYSZHydnOFTNMeD2720Cb225TMuIHBnMOziyqNDw7qng2jkhz7IKXQkLgn4uTYyPB7VcVUdiXmrnWukRJvdDcB2klp7WR9AV5MLQSGMgZsOFJEGQlsAjDbfmiW/dXtnapIGanKya+zissAiIkzkcfxE+LKikzeJJ2nYHfYnQgqTsDOMNFMILTY0EUc78w5LaFn5EU8N2qoJwsqoja8iD/eppt690DX/uJyiOvzD4VS9cEpsL4zxjsLoc8De+qYFShIPDmGzG+yXnWQM6xtGKicvuiYJTMQ7FJ493inwVuyH09jo8OeS5vmMk=
file_glob: true
file: docker-systemd-shim.*
on:
tags: true
repo: mback2k/docker-systemd-shim
condition: $TRAVIS_GO_VERSION != "master"