Skip to content

Commit

Permalink
Travis cache
Browse files Browse the repository at this point in the history
  • Loading branch information
osteele committed Jul 19, 2017
1 parent 631ede8 commit 26e76d2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ go:

python:
- "3.4"

cache:
pip: true
directories:
- $GOPATH/src
- $GOPATH/pkg

before_cache:
- rm -rf $GOPATH/src/github.com/osteele/gojekyll

before_install:
- go get github.com/mattn/goveralls

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ release: build
tar -cvzf dist/$(BINARY)_$(VERSION)_$(OS:GNU/%=%)_$(shell uname -m).tar.gz $(BINARY)

setup: ## install dependencies and development tools
go get -t ./...
go get -u github.com/alecthomas/gometalinter
go get -t -u ./...
go get github.com/alecthomas/gometalinter
gometalinter --install

install: ## compile and install the executable
Expand Down

0 comments on commit 26e76d2

Please sign in to comment.