Skip to content

Commit

Permalink
use Travis CI for release deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
nekr0z committed Aug 3, 2019
1 parent ecb381d commit 3421963
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ install:
- go install github.com/golangci/golangci-lint/cmd/golangci-lint
- gpg --batch --passphrase $GPG_PASSPHRASE --pinentry-mode loopback --import gpgsecret.asc
- echo -e "5\ny\n" | gpg --command-fd 0 --expert --edit-key 8BCDD592F2DE32D4 trust;
- git reset --hard HEAD
- git reset --hard

env:
- GO111MODULE=on
Expand All @@ -20,4 +20,14 @@ before_script:
script:
- golangci-lint run
- go test -v -race ./...
- go run build.go oauth.go -a
- go run build.go oauth.go

before_deploy:
- go install github.com/itchio/gothub
- git reset --hard

deploy:
provider: script
script: go run release.go
on:
tags: true

0 comments on commit 3421963

Please sign in to comment.