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