Skip to content

Commit

Permalink
Add travis file
Browse files Browse the repository at this point in the history
  • Loading branch information
ckalpakoglu committed Dec 19, 2019
1 parent 663c532 commit b0afc97
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
language: go
go:
- 1.13.x

script:
- export GO111MODULE=on
- GOOS=linux GOARCH=amd64 go build -o kdt-linux
- sha256sum kdt-linux > kdt-linux.sha256
- GOOS=windows GOARCH=amd64 go build -o kdt-windows.exe
- sha256sum kdt-windows.exe > kdt-windows.exe.sha256

deploy:
provider: releases
api_key:
secure: $GITHUB_TOKEN
file:
- kdt-linux
- kdt-linux.sha256
- kdt-windows.exe
- kdt-windows.exe.sha256
skip_cleanup: true
on:
tags: true

0 comments on commit b0afc97

Please sign in to comment.