Skip to content

Commit

Permalink
Testing goreleaser in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
juliosueiras committed Jul 22, 2019
1 parent 3bbded3 commit 87059f0
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ jobs:
- language: nix
os: osx
env: TRAVIS_OS=osx
- stage: GitHub Release
- stage: GoReleaser Deployment
services:
- docker
language: go
script: echo "Deploying to GitHub releases ..."
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
skip_cleanup: true
on:
tags: true

- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash
on:
tags: true
condition: $TRAVIS_OS_NAME = linux

after_script:
- file ./result/bin/terraform-lsp

0 comments on commit 87059f0

Please sign in to comment.