This repository has been archived by the owner on Jan 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
40 lines (40 loc) · 1.64 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
language: go
go:
- 1.6
env:
- PATH=/home/travis/gopath/bin:$PATH
install:
- go get github.com/urfave/cli
- go get github.com/ghodss/yaml
- go get github.com/bitly/go-simplejson
- go get golang.org/x/crypto/ssh/terminal
before_deploy:
- go get -v github.com/mitchellh/gox
- gox -output build/{{.OS}}_{{.Arch}}/{{.Dir}}
- cd build
- for osarch in * ; do cd $osarch && zip -r ../j2y-$osarch.zip . && cd ../ ; done
- cd ../
deploy:
provider: releases
api_key:
secure: mC2ijLSB9J4zb2f5WSTygoepNsgLC9lMsKitCFqE9FLlYIwdvCM0SXnqOM6iz83BZmWYus5vU24IJ7UNMJadtrBANzcb7nfPzF9iG8EZViDK4Km+Rwx0z9jHrRlpMJcBTG6obko2L/jkRtlIg1zYiS5UQRF2QYdssrnujByORaVoX0Csz5gr6LyCtRsQ9xwtK1BP8nudiB8tvTMbKhjgbv8nReDQwaXtuJS8BoouzEmZaAbJpo2/xARnbV5LIxk6anZbS3AD3TmyTYEFI/n7HhwuoTTG6ipuEr5tmRe3wXuQFMjE33ZKHsTG43aUSpyGs2fPtZaopcN3B7FgYvy9QeUf6FpmcUihkvPNdIlGLnJO4TtP0xoHvJPyxTKAgE2VoXG4/dd6/eCavcx4u0loNmdMwMveVYdrwrgX7QzaRdeDWUm9PgCv9jPXWA3bkVZdlQNQXgNPcIBAaDyy838ZNmL4IQXhs5KugLBqx2brqM/ydmATYTV47t4X+HDEhajuI3FB7+6qzTt2qd1M0LURRjRn/i3Osc6k1c1Xg21nWNC8TkCap5dojFMOcu4R9Hau/V/ZWiKJQaPeZ2FCiO0yjuMRko9sPcgG1usjMFkp7NX85RC8BBvrPJ8tQcfh8Yxk0QZsyOKmYQ30+Q4Fa4OkKtPiGCfZDlmCZ7LtWjPpAQY=
file:
- build/j2y-darwin_386.zip
- build/j2y-darwin_amd64.zip
- build/j2y-freebsd_386.zip
- build/j2y-freebsd_amd64.zip
- build/j2y-freebsd_arm.zip
- build/j2y-linux_386.zip
- build/j2y-linux_amd64.zip
- build/j2y-linux_arm.zip
- build/j2y-netbsd_386.zip
- build/j2y-netbsd_amd64.zip
- build/j2y-netbsd_arm.zip
- build/j2y-openbsd_386.zip
- build/j2y-openbsd_amd64.zip
- build/j2y-windows_386.zip
- build/j2y-windows_amd64.zip
all_branches: true
on:
repo: y13i/j2y
tags: true