Skip to content

Commit

Permalink
Add Travis CI file
Browse files Browse the repository at this point in the history
Requires that the Travis CI service has the correct permissions to the
repository, and that an environment variable called GH_TOKEN is present.
  • Loading branch information
lunjon committed Oct 21, 2019
1 parent 1cc9d07 commit 35094a8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: go

go:
- 1.13.x

jobs:
include:
- stage: build
script:
- go get ./...
- go test ./...
deploy:
provider: releases
api_key: $GH_TOKEN
skip_cleanup: true
on:
# Creates a new deployment when a tag is pushed to master
branch: master
tags: true

0 comments on commit 35094a8

Please sign in to comment.