Skip to content

Commit 8ad6c97

Browse files
committed
Setup automatic releases using travis
1 parent 16929c9 commit 8ad6c97

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.travis.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
language: go
2+
go:
3+
- 1.9
4+
install:
5+
- go get -u github.com/golang/dep/cmd/dep
6+
- make install_deps
7+
8+
script:
9+
- make bin/linux/kube-cleanup-operator
10+
- make bin/darwin/kube-cleanup-operator
11+
- mkdir bin/release
12+
- mv bin/linux/kube-cleanup-operator bin/release/kube-cleanup-operator-linux
13+
- mv bin/darwin/kube-cleanup-operator bin/release/kube-cleanup-operator-darwin
14+
15+
deploy:
16+
provider: releases
17+
skip_cleanup: true
18+
file_glob: true
19+
api_key:
20+
secure: pW2/HH28+KJKsVzsjvPLOgD+QE+MrKoTkJnx1+Vjqmoru7MnkCLrFK/E6N+dwtGutOTXmEBcngnF4az/3rsmUq4Fb8HDcYGko519MxE382c8aPBtSo51qRINmZ4Vvmlz9uL+tG4QfDjzR84GBwMCcNK0BO1CJRZh7uZHrNbMFXEFyYJjYIRk6EzxM3mVkM5Rl6gV9CajujDmPBi2tWjOdiQ22dD/2or63KxotFQUtM7fpXt+UO4Bq5Gd1Kv3s3AAOfAyJtmTQZ+Ice9QDSt0uVWukDeebkBxsELzUexiZmM6JHDrliqiswN0WNj33sMsXSmgA7mieBabKsJ2ZzyztFqIzm9ZvRkXFG2He0K6yx1Zy5GoaSljaUwf421E01njm1rk5mi3De7dDPrw98PuF+7siBgguGtkmtxlzmVhjAqr7AKLm0cEeq9bh2gk2eb8+KWWf/sfVtk9lAnnGRR11jc77XMTag/x8i68JKACD6DzL/IcWdWmOZDilYQvJM5iiSASw4z42pPjDybTuina+R/BPvk9W3apz7d/bueMr7eaPEw6xybiXEQ/Ys+LH3IPqaIwtgNjq1Y5JamsnWLa0DakDikUCmmXMhTCg4FIhIcjYmGcGlxNPB42BUBAF83WfmmkNjLbeFgcj0wuU0tPgDLONh6CLGThrBMGQ5T0gMw=
21+
file:
22+
- "bin/release/*"
23+
on:
24+
tags: true

0 commit comments

Comments
 (0)