From 3906afbd334a299924f5815bd24fc6cc642db7c9 Mon Sep 17 00:00:00 2001 From: Xuejie Xiao Date: Thu, 12 Mar 2020 05:01:57 +0000 Subject: [PATCH] Restore deploy setup --- .travis.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 422c3b8..aa42f42 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,12 +15,10 @@ script: - make fmt - git diff --exit-code -jobs: - include: - - stage: deploy - provider: script - script: curl -sL https://git.io/goreleaser | bash - os: linux - go: 1.13.x - on: - tags: true +deploy: + - provider: script + skip_cleanup: true + script: curl -sL https://git.io/goreleaser | bash + on: + tags: true + condition: $TRAVIS_OS_NAME = linux