update travis.yml

This commit is contained in:
刘河 2019-12-02 20:28:03 +08:00
parent 10529f54f1
commit 0c9bebd764
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,9 @@ script:
before_deploy:
- GOARCH=amd64 GOOS=linux go build cmd/nps/nps.go
- zip -r server_linux_amd64.zip nps conf web
- GOARCH=amd64 GOOS=darwin go build cmd/nps/nps.go
- zip -r server_macos_amd64.zip nps conf web
deploy:
provider: releases