-
Notifications
You must be signed in to change notification settings - Fork 145
/
Copy path.travis.yml
35 lines (32 loc) · 1 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
language: go
go:
- 1.5
- tip
before_deploy:
- GOARCH=arm GOOS=linux go build -o TcpRoute2-linux-arm
- GOARCH=386 GOOS=linux go build -o TcpRoute2-linux-386
- GOARCH=386 GOOS=freebsd go build -o TcpRoute2-freebsd-386
- GOARCH=386 GOOS=darwin go build -o TcpRoute2-darwin-386
- GOARCH=386 GOOS=windows go build -o TcpRoute2-windows-386.exe
- GOARCH=amd64 GOOS=linux go build -o TcpRoute2-linux-amd64
- GOARCH=amd64 GOOS=freebsd go build -o TcpRoute2-freebsd-amd64
- GOARCH=amd64 GOOS=darwin go build -o TcpRoute2-darwin-amd64
- GOARCH=amd64 GOOS=windows go build -o TcpRoute2-windows-amd64.exe
deploy:
provider: releases
api_key: $CI_USER_TOKEN
skip_cleanup: true
file:
- TcpRoute2-linux-arm
- TcpRoute2-linux-386
- TcpRoute2-freebsd-386
- TcpRoute2-darwin-386
- TcpRoute2-windows-386.exe
- TcpRoute2-linux-amd64
- TcpRoute2-freebsd-amd64
- TcpRoute2-darwin-amd64
- TcpRoute2-windows-amd64.exe
on:
tags: true
all_branches: true
go: tip