2019-12-02 02:55:38 -08:00
|
|
|
language: go
|
2019-12-02 02:33:59 -08:00
|
|
|
|
|
|
|
go:
|
|
|
|
- "1.13"
|
2019-12-02 03:15:40 -08:00
|
|
|
- master
|
2019-12-02 20:56:23 -08:00
|
|
|
services:
|
|
|
|
- docker
|
2019-12-02 02:33:59 -08:00
|
|
|
script:
|
2019-12-02 20:56:23 -08:00
|
|
|
- go test -v ./cmd/nps/
|
2019-12-03 09:54:23 -08:00
|
|
|
os:
|
|
|
|
- linux
|
2019-12-02 02:55:38 -08:00
|
|
|
before_deploy:
|
2019-12-03 11:12:03 -08:00
|
|
|
- chmod +x ./build.sh && ./build.sh
|
2019-12-02 02:55:38 -08:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: releases
|
2019-12-02 05:15:43 -08:00
|
|
|
api_key:
|
|
|
|
secure: ${TOKEN}
|
2019-12-02 02:55:38 -08:00
|
|
|
skip_cleanup: true
|
|
|
|
file:
|
2019-12-02 09:30:06 -08:00
|
|
|
- freebsd_386_client.tar.gz
|
|
|
|
- freebsd_386_server.tar.gz
|
|
|
|
- freebsd_amd64_client.tar.gz
|
|
|
|
- freebsd_amd64_server.tar.gz
|
2019-12-02 09:52:20 -08:00
|
|
|
- freebsd_arm_client.tar.gz
|
|
|
|
- freebsd_arm_server.tar.gz
|
2019-12-02 09:30:06 -08:00
|
|
|
- linux_386_client.tar.gz
|
|
|
|
- linux_386_server.tar.gz
|
|
|
|
- linux_amd64_client.tar.gz
|
|
|
|
- linux_amd64_server.tar.gz
|
|
|
|
- linux_arm64_client.tar.gz
|
|
|
|
- linux_arm64_server.tar.gz
|
2019-12-02 20:56:23 -08:00
|
|
|
- linux_arm_v5_client.tar.gz
|
|
|
|
- linux_arm_v6_client.tar.gz
|
|
|
|
- linux_arm_v7_client.tar.gz
|
|
|
|
- linux_arm_v5_server.tar.gz
|
|
|
|
- linux_arm_v6_server.tar.gz
|
|
|
|
- linux_arm_v7_server.tar.gz
|
2019-12-02 09:30:06 -08:00
|
|
|
- linux_mips64le_client.tar.gz
|
|
|
|
- linux_mips64le_server.tar.gz
|
|
|
|
- linux_mips64_client.tar.gz
|
|
|
|
- linux_mips64_server.tar.gz
|
|
|
|
- linux_mipsle_client.tar.gz
|
|
|
|
- linux_mipsle_server.tar.gz
|
|
|
|
- linux_mips_client.tar.gz
|
|
|
|
- linux_mips_server.tar.gz
|
|
|
|
- macos_client.tar.gz
|
|
|
|
- macos_server.tar.gz
|
|
|
|
- win_386_client.tar.gz
|
|
|
|
- win_386_server.tar.gz
|
|
|
|
- win_amd64_client.tar.gz
|
|
|
|
- win_amd64_server.tar.gz
|
2019-12-02 22:13:32 -08:00
|
|
|
- npc_$VERSION.spk
|
2019-12-02 06:20:33 -08:00
|
|
|
on:
|
|
|
|
tags: true
|
|
|
|
all_branches: true
|