mirror of https://github.com/cjbassi/gotop.git
Refactor travis files
This commit is contained in:
parent
77dfcba386
commit
9e7f58b769
|
@ -10,10 +10,6 @@ env:
|
|||
global:
|
||||
- NAME=gotop
|
||||
|
||||
install: true
|
||||
script:
|
||||
- ./ci/script.sh
|
||||
|
||||
matrix:
|
||||
include:
|
||||
# Linux
|
||||
|
@ -34,6 +30,9 @@ matrix:
|
|||
- env: _GOOS=darwin _GOARCH=amd64
|
||||
os: osx
|
||||
|
||||
install: true
|
||||
script: ./ci/script.sh
|
||||
|
||||
deploy:
|
||||
provider: releases
|
||||
api_key: $GITHUB_TOKEN
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
function main {
|
||||
# Check if any command failed
|
||||
ERROR=false
|
||||
|
||||
|
@ -30,3 +31,6 @@ fi
|
|||
if [ ${ERROR} == "true" ]; then
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
main
|
||||
|
|
Loading…
Reference in New Issue