-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (26 loc) · 831 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
language: go
script: go test -v .
install: true
go_import_path: github.com/oremj/aws-tools
go:
- 1.7
script:
- go test github.com/oremj/aws-tools/awsutils
- go test github.com/oremj/aws-tools/aws-ssh
- go test github.com/oremj/aws-tools/aws-instancelist
before_deploy:
- GOOS=linux GOARCH=amd64 go build -o aws-ssh_linux_amd64 ./aws-ssh
- GOOS=darwin GOARCH=amd64 go build -o aws-ssh_darwin_amd64 ./aws-ssh
- GOOS=linux GOARCH=amd64 go build -o aws-instancelist_linux_amd64 ./aws-instancelist
- GOOS=darwin GOARCH=amd64 go build -o aws-instancelist_darwin_amd64 ./aws-instancelist
deploy:
api_key: ${GITHUB_OAUTH}
provider: releases
file:
- aws-ssh_linux_amd64
- aws-ssh_darwin_amd64
- aws-instancelist_linux_amd64
- aws-instancelist_darwin_amd64
skip_cleanup: true
on:
tags: true