From 6e6a80c4d3176bc9f2eb46d83ce89aaa04b0c375 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Fri, 17 Jun 2016 10:19:23 -0400 Subject: [PATCH] Try symlinking into gopkg.in/urfave/cli.v2 better --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 84c3828..5584de2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,7 @@ matrix: env: pip_install="sudo pip install" - go: 1.1.2 install: go get -v . - before_script: echo skipping gfmxr on $TRAVIS_GO_VERSION + before_script: echo skipping gfmxr on ${TRAVIS_GO_VERSION} script: - ./runtests vet - ./runtests test @@ -36,9 +36,9 @@ before_script: - if [ ! -f node_modules/.bin/markdown-toc ] ; then npm install markdown-toc ; fi -- mkdir -p ~/gopath/src/gopkg.in/urfave -- rm -rf ~/gopath/src/gopkg.in/urfave/cli.v2 -- ln -sv ~/gopath/src/github.com/urfave/cli ~/gopath/src/gopkg.in/urfave/cli.v2 +- mkdir -p ${GOPATH%%:*}/src/gopkg.in/urfave +- rm -rf ${GOPATH%%:*}/src/gopkg.in/urfave/cli.v2 +- ln -sv ${TRAVIS_BUILD_DIR} ${GOPATH%%:*}/src/gopkg.in/urfave/cli.v2 script: - flake8 runtests cli-v1-to-v2