1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

travis: Eliminate travis-deploy.sh

This commit is contained in:
James Hillyerd
2018-12-23 12:31:26 -08:00
parent 4dd3ad33f9
commit 55e11929c7
2 changed files with 3 additions and 14 deletions

View File

@@ -4,6 +4,7 @@ env:
global: global:
- GO111MODULE=on - GO111MODULE=on
# deploy will use first go version listed below.
language: go language: go
go: go:
- "1.11.x" - "1.11.x"
@@ -25,7 +26,8 @@ jobs:
language: elm language: elm
elm: "0.19.0" elm: "0.19.0"
- stage: deploy - stage: deploy
script: "etc/travis-deploy.sh" install: "true"
script: "curl -sL https://git.io/goreleaser | bash"
addons: addons:
apt: apt:
packages: packages:

View File

@@ -1,13 +0,0 @@
#!/bin/bash
# travis-deploy.sh
# description: Trigger goreleaser deployment
set -eo pipefail
set -x
# downloading deps probably added to go.mod and go.sum, goreleaser will fail.
git reset --hard
git clean -dfx
# build release.
curl -sL https://git.io/goreleaser | bash