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

Commit 16b5dd7

Browse files
committed
travis
1 parent f234a69 commit 16b5dd7

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: go
2+
deploy:
3+
provider: releases
4+
api_key:
5+
secure: NqOIAqJFfepiEZCqzU3WlOuE1jj0KA561DK74PKQ6UnJRXX4WrikkaB2zussWqdQ3XqHR9GmBDYXcY8qxmp2SxaoGLuXINgjb8dOx15XZbwyToqerzdUgJr59kgtBLMP8P1yBO7m95ZKX5t0LVJt/DTJcHEK4AyCcISY+mFxCzWATY0LjFVUjThGXJRElPl8Y/0dO3Dx2NgvfJpvA6GqOXPG/AYmYWFQgXQ0mgek7vPH339KQIVEwV/Up/ywNV8HErzmyLfGsZmLoze+WCByEYJn7o3M4lSKYPNgj2k71jlY/VPPp9ZHU1Lry4Q+ObdrfdEWZH43R6ZfTBcFOw2NZ8KZDzeoRcafLFt5rBgATTi5m2lHnaHhWIqm5NfdE2cEZBitfuIuQoKox3YIkZj63nl6n69Tzt5mmsXm+8IXQ9rM26RqxJ+NqAjmUAirm1RClFGrnPlcd9EoxWA/2IrDtECVc3gQ3ndNEBFbP7eSVdXXsXkqToSud18QMKH0+5XCr7HTDUKYslcxAe5QDo7Ngq3fa8mtSOW/Hzk1Rcp6gNoJpSuq47hn05MIiLIfniCjf+1br2ncp8hNeD+SJEuv2HzN3ZBSLJQ8EuUY9iBVDFE/LE4lnMO6ScTSZtGqSEkrh9r8s4vzSMn592ib0MZEh3NvdQ7FbJiJ7ZXM67lyYSg=
6+
file:
7+
- ssh-crypt
8+
- ssh-crypt_darwin
9+
- ssh-crypt.exe
10+
skip_cleanup: true
11+
on:
12+
tags: true

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ build: ssh-crypt ssh-crypt.exe ssh-crypt_darwin
66
ssh-crypt: $(wildcard *.go) $(wildcard **/*.go)
77
go get ./...
88
go get github.com/stretchr/testify/assert
9-
go test -v github.com/suside/ssh-crypt/lib
9+
go get github.com/mattn/goveralls
10+
go test -v github.com/suside/ssh-crypt/lib -coverprofile=main.coverprofile
1011
go build -o ssh-crypt -i -ldflags "-s -w -X main.version=${VERSION}"
12+
${GOPATH}/bin/goveralls -coverprofile=main.coverprofile -service travis-ci || true
1113

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

0 commit comments

Comments
 (0)