-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
32 lines (32 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
language: go
go:
- 1.x
before_deploy:
- GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o departures
- tar -czf departures_linux_amd64.tar.gz departures README.md LICENSE
- GOOS=linux GOARCH=386 go build -ldflags="-s -w" -o departures
- tar -czf departures_linux_386.tar.gz departures README.md LICENSE
- GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -o departures
- tar -czf departures_macos_amd64.tar.gz departures README.md LICENSE
- GOOS=freebsd GOARCH=amd64 go build -ldflags="-s -w" -o departures
- tar -czf departures_freebsd_amd64.tar.gz departures README.md LICENSE
- GOOS=freebsd GOARCH=386 go build -ldflags="-s -w" -o departures
- tar -czf departures_freebsd_386.tar.gz departures README.md LICENSE
- GOOS=linux GOARCH=arm GOARM=5 go build -ldflags="-s -w" -o departures
- tar -czf departures_raspi.tar.gz departures README.md LICENSE
deploy:
provider: releases
api_key:
secure: dXCr7B0nt7nX3qrY6jcuPuZeoyH8G1IVLYjNtjh9l6HG7S2gycsNuHEhih0wMoiAfchOuftAEgE1Rx16uiGE2i3o/rK5C2F5KOoW5QjbyvCGclq+Y3rs9mi5vyuXT4dXQQiSKNsx20u958s95pLIqBBRCAYp2XrebqNPEF+L+OJToDUR5gvoO37D7T6e7GwqepTQzfFFgMth2P6fS/oz/b5Uf98qmQCRosxQOc3RSRQYX9Fy6Z/4bkuR0OhRwQ98/psD/x5Kc9fsFYvF4b/IW/UIDPiXT8Er2OrwMeyP2Uiimp6Jsu3tm3xGKiz3u0gSc7NEvkwoYAYETAx0Q12/JElTBZIQm8L0aiQ4qONoprSwL/tKZRX1aFWnlt77uCK702AIDkpWz2CH8zINoq978ICnNOIT3muUy/4t1DBRgp/PLTFKCh+Rj+VMYPjNbgohKB/Ss7a3f3z0oVE35RZZTX7UgzIg48VTF/09BNeoY+v5z9x+bUkfL9PGEMk12/wJwgPTVg4AlfdCaQHANJurBqbB7qcrSLsL4spdb668kK1ubjGH60DeDaC2k8J7BThx4QDEgFl9ijxCdE+bOR3MbEBkF3B/jTk+5RNOswEgZHAY32QJY2J4nA5iGnZOi2eYE5yPny0SnAnyXt2/SQINYKJdMYcOONjIgjxfKdOe9NI=
file:
- departures_linux_amd64.tar.gz
- departures_linux_386.tar.gz
- departures_macos_amd64.tar.gz
- departures_freebsd_amd64.tar.gz
- departures_freebsd_386.tar.gz
- departures_raspi.tar.gz
skip_cleanup: true
draft: true
on:
repo: noxer/departures
tags: true