Skip to content

Commit

Permalink
Add config file for Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
summerwind committed Jan 15, 2019
1 parent 77059ec commit 250a73e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
language: go
go:
- "1.11.x"
env:
- GO111MODULE=on
before_install:
- curl https://raw.githubusercontent.com/go-task/task/master/install-task.sh | sh
- mv ./bin/task $GOPATH/bin
install:
- task module
script:
- task test
before_deploy:
- task dist
deploy:
provider: releases
api-key: $GITHUB_TOKEN
file_glob: true
file: dist/*
skip_cleanup: true
on:
tags: true

0 comments on commit 250a73e

Please sign in to comment.