Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 368693b

Browse files
committed
update travis deploy
1 parent 6b9e74b commit 368693b

2 files changed

Lines changed: 27 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ logs/
1515
debugging/mgof/
1616
debugging/kstest/
1717
morgoth.yaml
18+
/morgoth_*

.travis.yml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,36 @@
11
language: go
22
sudo: false
33
go:
4-
- 1.6
4+
- 1.6
5+
6+
script:
7+
- go test -v ./...
8+
9+
before_deploy:
10+
# Build binary
11+
- go get -u github.com/mitchellh/gox
12+
- gox ./cmd/morgoth
13+
514
deploy:
615
provider: releases
716
api_key:
817
secure: cK0/w0ggcVawInO+b++4qqwMGrVoP7PzNkTxaNq+tbFc9cu8CSUS2+PlgRkdoRYfD+fohri3lqdzHUH0rcC7gOfx/Dvtw7mcs14gzfvuNL+/xMlKn/mBoPkOGPXQeh86qsmGbsrgDzv/BwGNgxqqEimxdiev2ZDlssTD16RQZR8=
9-
file: "./morgoth"
18+
file:
19+
- morgoth_darwin_386
20+
- morgoth_darwin_amd64
21+
- morgoth_freebsd_386
22+
- morgoth_freebsd_amd64
23+
- morgoth_freebsd_arm
24+
- morgoth_linux_386
25+
- morgoth_linux_amd64
26+
- morgoth_linux_arm
27+
- morgoth_netbsd_386
28+
- morgoth_netbsd_amd64
29+
- morgoth_netbsd_arm
30+
- morgoth_openbsd_386
31+
- morgoth_openbsd_amd64
32+
- morgoth_windows_386.exe
33+
- morgoth_windows_amd64.exe
1034
skip_cleanup: true
1135
on:
1236
tags: true

0 commit comments

Comments
 (0)