Skip to content

Commit

Permalink
travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Reichenberger committed Jun 8, 2018
1 parent 109b594 commit 160a91c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
language: go
go:
- 1.10.2
script:
- 'go test ./...'
- env GOOS=linux GOARCH=amd64 go build -o oauth2-router.linux.amd64
- env GOOS=darwin GOARCH=amd64 go build -o oauth2-router.darwin.amd64
- env GOOS=windows GOARCH=386 go build -o oauth2-router.windows.amd64.exe

jobs:
include:
- stage: test
script:
- 'go test ./...'
- env GOOS=linux GOARCH=amd64 go build -o oauth2-router.linux.amd64
- env GOOS=darwin GOARCH=amd64 go build -o oauth2-router.darwin.amd64
- env GOOS=windows GOARCH=386 go build -o oauth2-router.windows.amd64.exe
- stage: deploy
script: echo "Deploying to GitHub Releases"
deploy:
Expand Down

0 comments on commit 160a91c

Please sign in to comment.