Skip to content

Commit

Permalink
fixed travis yamll
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusDieckmann committed Oct 5, 2020
1 parent 38e5572 commit 41a0e10
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
language: go
go:
- 1.x
- 1.x

env:
global:
- CGO_ENABLED=0

before_deploy:
- mkdir -p release
- "GOOS=linux GOARCH=amd64 go build -a -ldflags '-extldflags "-static"' -o release/datahandlercli-v$TRAVIS_TAG-linux-amd64"
- "GOOS=darwin GOARCH=amd64 go build -a -ldflags '-extldflags "-static"' -o release/datahandlercli-v$TRAVIS_TAG-darwin-amd64"
- "GOOS=windows GOARCH=amd64 go build -a -ldflags '-extldflags "-static"' -o release/datahandlercli-v$TRAVIS_TAG-windows-amd64"
- "GOOS=linux GOARCH=amd64 go build -o release/datahandlercli-v$TRAVIS_TAG-linux-amd64"
- "GOOS=darwin GOARCH=amd64 go build -o release/datahandlercli-v$TRAVIS_TAG-darwin-amd64"
- "GOOS=windows GOARCH=amd64 go build -o release/datahandlercli-v$TRAVIS_TAG-windows-amd64"

deploy:
provider: releases
Expand Down

0 comments on commit 41a0e10

Please sign in to comment.