Skip to content

Commit

Permalink
Add CircleCI configuration
Browse files Browse the repository at this point in the history
This should let us automatically run tests on CircleCI and check for failures.
  • Loading branch information
Kevin Burke committed Jan 30, 2016
1 parent b4872bb commit d2b149b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
.PHONY: test

install:
go get -t -d -v ./...
go build -v ./...

test:
go test -v -race ./...

Expand Down
10 changes: 10 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
dependencies:
override:
- rm -rf "$HOME/src/github.com/Shyp/go-git"
- mkdir -p "$HOME/src/github.com/Shyp"
- cp -r "$HOME/go-git" "$HOME/src/github.com/Shyp/go-git"
- make install

test:
override:
- make test

0 comments on commit d2b149b

Please sign in to comment.