Skip to content

Commit

Permalink
Add circle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ejholmes committed Apr 6, 2017
1 parent 9741bd8 commit deb9093
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
bin/assume-role: *.go
go build -o bin/assume-role .

test:
go test -race $(shell go list ./... | grep -v /vendor/)
14 changes: 14 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
machine:
environment:
GODIST: "go1.7.linux-amd64.tar.gz"
post:
- mkdir -p download
- test -e download/$GODIST || curl -o download/$GODIST https://storage.googleapis.com/golang/$GODIST
- sudo rm -rf /usr/local/go
- sudo tar -C /usr/local -xzf download/$GODIST
- sudo ln -s /usr/local/go/bin/go /usr/bin/go
- sudo go install -a -race std

test:
override:
- make test

0 comments on commit deb9093

Please sign in to comment.