Skip to content

Commit

Permalink
use dep from gopath
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorvam committed May 16, 2019
1 parent 3ab0407 commit 105f8f8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ go:

env:
- DEP_VERSION="0.5.0"
- PATH=/snap/bin:$PATH

services:
- docker
Expand All @@ -14,17 +15,14 @@ addons:
packages:
- rpm
- snapd
env:
- PATH=/snap/bin:$PATH

before_install:
- curl -L -s -v https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep
- chmod +x $GOPATH/bin/dep
- ls -al $GOPATH/bin
- dep version

install:
- dep ensure -v
- $GOPATH/bin/dep ensure -v
- sudo snap install snapcraft --classic

script:
Expand All @@ -41,4 +39,4 @@ deploy:
on:
tags: true
condition: $TRAVIS_OS_NAME = linux
master: true
master: true

0 comments on commit 105f8f8

Please sign in to comment.