Try symlinking into gopkg.in/urfave/cli.v2 better

This commit is contained in:
Dan Buch 2016-06-17 10:19:23 -04:00
parent dc55e12942
commit 6e6a80c4d3
No known key found for this signature in database
GPG Key ID: FAEF12936DD3E3EC

View File

@ -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