Skip to content

Commit

Permalink
glide using go get
Browse files Browse the repository at this point in the history
  • Loading branch information
albertrdixon committed Sep 21, 2016
1 parent 0785cea commit e877768
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ os: linux
language: go
go: 1.7.1

install:
- curl https://glide.sh/get | sh
- go get github.com/mitchellh/gox
install: make tools
before_script: make restore
script: make test-verbose
after_success: make package
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ PKG = cmd/t2/t2.go
LDFLAGS = -s
PLATFORMS = linux darwin
BUILD_ARGS = ""
TOOLS = glide

.PHONY: save restore test test-verbose build install package clean

Expand All @@ -22,6 +23,9 @@ help:
@echo " package"
@echo " clean"

tools:
go get -u -v -ldflags -s github.com/Masterminds/glide

save:
@echo "---> Saving dependencies..."
@glide update
Expand Down

0 comments on commit e877768

Please sign in to comment.