language: go go: - "1.13" - master script: - go test -v ./cmd/nps/ 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 skip_cleanup: true file: - server_linux_amd64.zip on: tags: true all_branches: true go: 1.13