-
Notifications
You must be signed in to change notification settings - Fork 31
/
.travis.yml
37 lines (34 loc) · 893 Bytes
/
.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
language: go
sudo: false
go:
- 1.7
install: true
script:
- go test -v $(go list ./... | grep -v vendor/)
before_deploy:
# Build binary
- go get -u github.com/mitchellh/gox
- CGO_ENABLED=0 gox ./cmd/morgoth
deploy:
provider: releases
api_key:
secure: cK0/w0ggcVawInO+b++4qqwMGrVoP7PzNkTxaNq+tbFc9cu8CSUS2+PlgRkdoRYfD+fohri3lqdzHUH0rcC7gOfx/Dvtw7mcs14gzfvuNL+/xMlKn/mBoPkOGPXQeh86qsmGbsrgDzv/BwGNgxqqEimxdiev2ZDlssTD16RQZR8=
file:
- morgoth_darwin_386
- morgoth_darwin_amd64
- morgoth_freebsd_386
- morgoth_freebsd_amd64
- morgoth_freebsd_arm
- morgoth_linux_386
- morgoth_linux_amd64
- morgoth_linux_arm
- morgoth_netbsd_386
- morgoth_netbsd_amd64
- morgoth_netbsd_arm
- morgoth_openbsd_386
- morgoth_openbsd_amd64
- morgoth_windows_386.exe
- morgoth_windows_amd64.exe
skip_cleanup: true
on:
tags: true