Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Commit

Permalink
travis
Browse files Browse the repository at this point in the history
  • Loading branch information
suside committed Mar 27, 2017
1 parent f234a69 commit 16b5dd7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: go
deploy:
provider: releases
api_key:
secure: NqOIAqJFfepiEZCqzU3WlOuE1jj0KA561DK74PKQ6UnJRXX4WrikkaB2zussWqdQ3XqHR9GmBDYXcY8qxmp2SxaoGLuXINgjb8dOx15XZbwyToqerzdUgJr59kgtBLMP8P1yBO7m95ZKX5t0LVJt/DTJcHEK4AyCcISY+mFxCzWATY0LjFVUjThGXJRElPl8Y/0dO3Dx2NgvfJpvA6GqOXPG/AYmYWFQgXQ0mgek7vPH339KQIVEwV/Up/ywNV8HErzmyLfGsZmLoze+WCByEYJn7o3M4lSKYPNgj2k71jlY/VPPp9ZHU1Lry4Q+ObdrfdEWZH43R6ZfTBcFOw2NZ8KZDzeoRcafLFt5rBgATTi5m2lHnaHhWIqm5NfdE2cEZBitfuIuQoKox3YIkZj63nl6n69Tzt5mmsXm+8IXQ9rM26RqxJ+NqAjmUAirm1RClFGrnPlcd9EoxWA/2IrDtECVc3gQ3ndNEBFbP7eSVdXXsXkqToSud18QMKH0+5XCr7HTDUKYslcxAe5QDo7Ngq3fa8mtSOW/Hzk1Rcp6gNoJpSuq47hn05MIiLIfniCjf+1br2ncp8hNeD+SJEuv2HzN3ZBSLJQ8EuUY9iBVDFE/LE4lnMO6ScTSZtGqSEkrh9r8s4vzSMn592ib0MZEh3NvdQ7FbJiJ7ZXM67lyYSg=
file:
- ssh-crypt
- ssh-crypt_darwin
- ssh-crypt.exe
skip_cleanup: true
on:
tags: true
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ build: ssh-crypt ssh-crypt.exe ssh-crypt_darwin
ssh-crypt: $(wildcard *.go) $(wildcard **/*.go)
go get ./...
go get github.com/stretchr/testify/assert
go test -v github.com/suside/ssh-crypt/lib
go get github.com/mattn/goveralls
go test -v github.com/suside/ssh-crypt/lib -coverprofile=main.coverprofile
go build -o ssh-crypt -i -ldflags "-s -w -X main.version=${VERSION}"
${GOPATH}/bin/goveralls -coverprofile=main.coverprofile -service travis-ci || true

ssh-crypt.exe: ssh-crypt
env GOOS=windows go build -o ssh-crypt.exe -i -ldflags "-s -w -X main.version=${VERSION}"
Expand Down

0 comments on commit 16b5dd7

Please sign in to comment.