Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #37 from sethvargo/sethvargo/travis_oops
Browse files Browse the repository at this point in the history
Fix travis
  • Loading branch information
mitchellh committed Mar 23, 2016
2 parents dd989ae + 737f844 commit 1e1a854
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ go:
- 1.6
- tip

script: make test testrace
script: make updatedeps test testrace

matrix:
allow_failures:
Expand Down
11 changes: 3 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ TEST?=./...
default: test

# test runs the test suite and vets the code
test: generate
test:
go list $(TEST) | xargs -n1 go test -timeout=60s -parallel=10 $(TESTARGS)

# testrace runs the race checker
testrace: generate
testrace:
go list $(TEST) | xargs -n1 go test -race $(TESTARGS)

# updatedeps installs all the dependencies to run and build
Expand All @@ -17,9 +17,4 @@ updatedeps:
| grep -v github.com/mitchellh/cli \
| xargs go get -f -u -v

# generate runs `go generate` to build the dynamically generated source files
generate:
find . -type f -name '.DS_Store' -delete
go generate ./...

.PHONY: test testrace updatedeps generate
.PHONY: test testrace updatedeps

0 comments on commit 1e1a854

Please sign in to comment.