forked from eycorsican/go-tun2socks
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
43 lines (43 loc) · 1.29 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
before_install:
- |-
case "$(go env GOOS)" in
*windows*)
export MAKE=mingw32-make
;;
*freebsd*)
export MAKE=gmake
;;
*)
export MAKE=make
;;
esac
dist: focal
language: go
go:
- 1.17.x
branches:
only:
- "/v\\d+\\.\\d+\\.\\d+/"
matrix:
include:
- os: linux
arch: amd64
- os: linux
arch: arm64
- os: osx
- os: windows
- os: freebsd
script:
- $MAKE build
before_deploy:
- $MAKE build
deploy:
provider: releases
api_key:
secure: ZSTQzFI9dUmxHxedbGyWZzTDFWlFV97fsHG5anVIi25YuPjgr+Qp7zWDkSi2ww5Nmuod58ieNB1sPPO5Fx2R3/FZ3Eq0gXO4wkqOFxf8GeCojNbQTzYHl6M5YPur/1vSPlpinQSVfs74G+OCQBLNZ5evgF1Y1scuX9ltBvTYmWBst/Ty5J7UVMhRf5cImHNHufob6nQhXv1tK51XFEAnX+2C+CNm/d9AgxeA7fo2NevqchwzsXU+5n6o29O4xI9rsSlslxUqmVbBaY/3+h0ZbBeWKY0RxBFyyhCsSJ7c29oJPjEpnr0U7g1frl2j8rBewHqbaqcMzfwCQZ277tU1dnvmzsXtggKy8NwjavUH3ekTh0fFasm9Xcwnfldsw7vihLk5pXNdKOM5cT4ylNeBMLHeapyr8LW3CV4zYYDN75GNxovOsA0kC0oWj63/QPVHhHWeIucYFEewNuW8DSwgDyFbAzVKwypU8EtQko0XDT1tnxlDdjq9BobmKxTC6udtJHbgx3juqBzIVxgUPljCoYmj+r75pNApSlQJr12LDpshArWjlj/RojLDjADz7dLeXWjsEi1PGK/jaqh7TQyayNN21aPcXdMOtW+jPD9JBzrmRJSalSbz25N/b25u1hPMyE6d5Y7eE+UW0D8iWY0aJAp2GNCxOKBg3LuivdJ4qsU=
file_glob: true
file: 'build/*'
on:
tags: true
repo: kayrus/go-tun2socks
skip_cleanup: 'true'