mirror of
https://github.com/cjbassi/gotop.git
synced 2025-05-12 19:29:37 +08:00

- travis-ci used to publish binaries to the GitHub releases tab on new release - Will also publish .deb and .rpm packages - Haven't gotten the checksums file to work yet - OSX x86 also isn't working - No longer using goreleaser to publish binaries - didn't support cgo cross compilation which made things difficult - Remove obsolete Makefile
53 lines
754 B
YAML
53 lines
754 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.11.x
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
git:
|
|
depth: 1
|
|
|
|
env:
|
|
global:
|
|
- NAME=gotop
|
|
|
|
install: true
|
|
script:
|
|
- ./ci/script.sh
|
|
|
|
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
|
|
|
|
deploy:
|
|
provider: releases
|
|
api_key: $GITHUB_TOKEN
|
|
file_glob: true
|
|
file: "./dist/*"
|
|
skip_cleanup: true
|
|
on:
|
|
tags: true
|
|
|
|
notifications:
|
|
email:
|
|
on_success: never
|