xmtop/.travis.yml

50 lines
747 B
YAML
Raw Normal View History

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
2019-02-08 11:04:51 +08:00
install: true
script: ./ci/script.sh
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: "./dist/*"
skip_cleanup: true
on:
tags: true
2019-02-07 16:39:48 +08:00
if: tag IS present
notifications:
email:
on_success: never