-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
26 lines (22 loc) · 1.26 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
language: go
go:
- 1.9.x
script:
- make install
- make test
- GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o /dev/null .
before_deploy:
- GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -o git-mirror-windows-amd64.exe .
- GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o git-mirror-linux-amd64 .
- GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -o git-mirror-darwin-amd64 .
deploy:
skip_cleanup: true
on:
tags: true
provider: releases
api_key:
secure: Z3esBiXiZaYRDztWVOns78bsJfUM5BRt6+0MNOC8mErANqn5y3ANT8LVjUHWVasgIWYOFDS81jObZ064m20GGCRRzm1A6WWsba2vC/FDYMl5emtMA19I3e5+dNWD/P++CVyL/3te1ynDXMX1m6PP+X196zKhywOV/IPEZA4HrYTzuZbJQeVj9yWoGNH5SwVOLmSXx3FPm1cT1AcoMw8pt9IONBzyI+03xBA1fK8E80iksGt8q6OZXj3DC1xUT3yJdB1o9bx54aEJaTSAljHEFC0Wzs1pQueOcgcwywAiZhNlFDa2W1F0+ziX5n+Lky8vDDq4m9BY8hrnAOftxlZ7xgPBHZrFb3+PCllwb5oYoCC1kfQX2if3peH3F7xryKNePNVfqLh590pwQVjDLlCq0GKm0mWSgPqp36fFhFffVOr5MxOQcL9XJMd/Qd/JdK64goVLYBTntQgwmjJyo0eKaKavjNw2lAe8SdUGXogGFB3C/AO30Y8+r/8+A7d5Q56yQklD1FsGvFwkp2HnNITtj2tR91vhoHOneMPizKa8mMEuHRGkuzpupKwGVHpEQcRxrj0Kd2XOOl7Jgtepj/PlceBIqjDiUDcSG04iIMhwUmAfynGZUH1fcSR1a5HYW94F7/OZ2Gb9QN5eRdJl2XYhrvmR4Z63eLnRr8fezYYPz/o=
file:
- git-mirror-linux-amd64
- git-mirror-windows-amd64.exe
- git-mirror-darwin-amd64