Skip to content

Commit 823366d

Browse files
authored
Fixes #177 | Release from travis (#179)
* Install FPM in travis * Install goimports in make
1 parent 1c0e654 commit 823366d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ sudo: false
55
go:
66
- 1.7
77
before_install:
8+
- gem install fpm
89
- go get github.com/mattn/goveralls
910
script:
10-
- make check
11+
- make release check
1112
- goveralls -coverprofile=coverage/gover.coverprofile -service travis-ci
12-
before_deploy:
13-
- make release
1413
deploy:
1514
provider: releases
1615
api_key:

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ deps:
2929
(go get github.com/modocache/gover)
3030
@which goxc > /dev/null || \
3131
(go get github.com/laher/goxc)
32+
@which goimports > /dev/null || \
33+
(go get golang.org/x/tools/cmd/goimports)
3234

3335
build-deps: deps format test check
3436
@mkdir -p bin/

0 commit comments

Comments
 (0)