Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
John Frey
committed
Aug 19, 2016
1 parent
0a4a4e7
commit 395d4c7
Showing
5 changed files
with
32 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
sudo: required | ||
services: | ||
- docker | ||
- docker | ||
language: go | ||
go: | ||
- 1.7 | ||
- 1.7 | ||
env: | ||
- BUILD_DIR=registry | ||
- BUILD_DIR=rackhd | ||
|
||
matrix: | ||
- BUILD_DIR=registry | ||
- BUILD_DIR=rackhd | ||
global: | ||
secure: nVUh59671AbppNtMA9P18coId3lgfa39on0SppQQA00r41DW9jeHOP0cVFBn0eqkjYBI4mDpwBAEqSHKkNLiS1qLvy3K8DiuP/C2sNhZ0sRJ5ssu8ap1k0s09v/3P9L/ZrsIcmTV7TUzMfEc0Nee7BpRKbFN8V2afD/5rmxWFqHaxN/3m5JoOL7pFPG/n35t+hcqWOAUXRskTkgLvFKapB/tYLv6PW1pCPtEc46wiKFzVgoJG7GoqyOsFcnrksxigjww+6jxxH8U/l2gR72ch5V42NHF/9VptPmGwKWwwxrXoyQXXR1plU1thOS/Jug9+sjAlZfgyRZSW9I6ihBwKzyBNlaeQuGMVdgPaFXcNhEZtN6XL2/aO7/nCDkEOomTt0IL2UA6HZJJ/MYjsq8GCnD+EgdnQe7GWVbF1c301RaDt2z+1kjlFdmGQr3rk2C3v+rrvDq02chRk9u17G36Y749RmbstFpA0zYn8OU+B9aSAg8cg7paV8e3pkhTVsq2Z12cQJoE1SsYJW8FxCi4Ob6JTPmL+9czEpGsKAxmwUCmw1p5epFvS3bePan0c092miHP0cVE3eUt6LA0YTKiD4ZEKM5cn6KVl45Xm1xqydllin8xHigo69IaTep1DEkPQh3WtbLP3vL5kAkLlHkAFXhygKJMar1QKKBy0pGeCv8= | ||
script: | ||
- cd $BUILD_DIR && make | ||
|
||
- cd $BUILD_DIR && make | ||
after_success: | ||
- cd $TRAVIS_BUILD_DIR && make coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
ORGANIZATION = RackHD | ||
PROJECT = neighborhood-manager | ||
|
||
TTY = $(shell if [ -t 0 ]; then echo "-ti"; fi) | ||
|
||
PROJECT_DIR = /go/src/github.com/${ORGANIZATION}/${PROJECT} | ||
DOCKER_DIR = ${PROJECT_DIR} | ||
DOCKER_IMAGE = rackhd/golang:1.7.0-wheezy | ||
DOCKER_CMD = docker run --rm -v ${PWD}:${PROJECT_DIR} ${TTY} -w ${DOCKER_DIR} ${DOCKER_IMAGE} | ||
|
||
noop: | ||
@echo Neighborhood Manager | ||
|
||
coveralls: | ||
@go get github.com/mattn/goveralls | ||
@go get github.com/modocache/gover | ||
@go get golang.org/x/tools/cmd/cover | ||
@gover | ||
@goveralls -coverprofile=gover.coverprofile -service=travis-ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters