Browse Source

Fix: dep danse for Travis

Mathieu Lecarme 7 years ago
parent
commit
1311b702f1
1 changed files with 3 additions and 1 deletions
  1. 3 1
      .travis.yml

+ 3 - 1
.travis.yml

@@ -9,7 +9,9 @@ go:
 
 install:
   - export GO15VENDOREXPERIMENT=1
-  - godep ensure
+    # Add Godeps dependencies to GOPATH and PATH
+  - export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH"
+  - export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH"
 
 script:
   - ./.travis.gofmt.sh