blob: cf131a695aa07677348a927f60301ed37de18928 (
plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
|
language: go
go:
- 1.11.x
git:
depth: 1
env:
global:
- NAME=gotop
matrix:
include:
# Linux
- env: _GOOS=linux _GOARCH=amd64
os: linux
- env: _GOOS=linux _GOARCH=386
os: linux
- env: _GOOS=linux _GOARCH=arm GOARM=5
os: linux
- env: _GOOS=linux _GOARCH=arm GOARM=6
os: linux
- env: _GOOS=linux _GOARCH=arm GOARM=7
os: linux
- env: _GOOS=linux _GOARCH=arm64
os: linux
# OSX
- env: _GOOS=darwin _GOARCH=amd64
os: osx
install: true
script: ./ci/script.sh
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: "./dist/*"
skip_cleanup: true
on:
tags: true
if: tag IS present
notifications:
email:
on_success: never
|