remove the test file which is not useful & update travis fie

This commit is contained in:
unknown
2019-12-02 18:55:38 +08:00
parent 37db3c836b
commit ddc867d3cc
2 changed files with 17 additions and 80 deletions

View File

@@ -1,11 +1,23 @@
language:
- go
language: go
go:
- "1.13"
- dev
script:
- go get -v
- go test -v ./...
- go build cmd/nps/nps.go
before_install:
before_deploy:
- GOARCH=amd64 GOOS=linux go build cmd/nps/nps.go
- zip -r server_linux_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