-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
33 lines (33 loc) · 1.84 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
language: go
go:
- 1.x
script:
- GOOS=linux GOARCH=amd64 go build -o release/note-Linux-x86_64
- GOOS=linux GOARCH=386 go build -o release/note-Linux-i386
- GOOS=linux GOARCH=arm GOARM=5 go build -o release/note-Linux-armv5l
- GOOS=linux GOARCH=arm GOARM=6 go build -o release/note-Linux-armv6l
- GOOS=linux GOARCH=arm GOARM=7 go build -o release/note-Linux-armv7l
- GOOS=linux GOARCH=arm64 go build -o release/note-Linux-armv8l
- GOOS=darwin GOARCH=amd64 go build -o release/note-Darwin-x86_64
- GOOS=darwin GOARCH=386 go build -o release/note-Darwin-i386
- GOOS=windows GOARCH=amd64 go build -o release/note-Windows-x86_64.exe --ldflags="-H windowsgui"
- GOOS=windows GOARCH=386 go build -o release/note-Windows-i386.exe --ldflags="-H windowsgui"
deploy:
provider: releases
api_key:
secure: by6DVY7v5ozuMtP6IK2K4xbEJvOqg3C9YoZyr7g5/38tC6YtSIKb5ZJpsq2WqdQ1Uu9O4ZU631qMPKls52MREG0nDN7b/o9zYN1rvAQNYMWRCa/aeLAOTgJNkaRN7ekBpo3Pe/skCEht0Cf5frsenDV+4/aA7/mUr/DzJe1hVYRsqk5wSGs59T/Tm4RBj1mKw+0DQKsOQk6eVeM4y9wMEYzenYxEh7XvEjsokSmuE5NR5zkcAKjIKeWDKQPo8wiaaULbpsK5Ej1WeB2cO3Su0ak1VHYGSVmyeIdaB+oeTVovuWXAx7h5176mVm0HQ9BGHrEJzSdeyeNW8PjyqKtK7AqWfSLVW4RpnSTiVOlKJT6P1YhcPNGGgcWPiHUl8+c/AQycp85ABWl+KRQ9wnGTIwejCgzEcjT5l/GUercTigp+Q5eIwkJUXumjPUsaMH8ja3YsN5rH3nAs3l/21miCCbhXWl7suUYu3R5ELY2ui7R7K061xdfxqslTBWMI4s4oRaNFQOBRqz48esKUhWJLtkNFsda+k2wcMFHFHJRtkIbOWUlpe8Mkwh/ih2oREwGm0mcSU3d3fOEOlyYfEBwYMM1IikBejtv7Pm8ffsWnYFQaWfo89uQk0Evr/A96eYFAyJk3g6omDfvgGsdwkyipr47KmdEDQe2DViKIR5JHZWk=
skip_cleanup: true
file:
- release/note-Linux-x86_64
- release/note-Linux-i386
- release/note-Linux-armv5l
- release/note-Linux-armv6l
- release/note-Linux-armv7l
- release/note-Linux-armv8l
- release/note-Darwin-x86_64
- release/note-Darwin-i386
- release/note-Windows-x86_64.exe
- release/note-Windows-i386.exe
on:
repo: gumieri/note
tags: true