Ensure gfmxr installs with cli.v2

and *then* make this repo shadow cli.v2
This commit is contained in:
Dan Buch 2016-06-22 12:55:38 -04:00
parent df685fbacc
commit 76d44cff06
No known key found for this signature in database
GPG Key ID: FAEF12936DD3E3EC
2 changed files with 3 additions and 2 deletions

View File

@ -35,10 +35,10 @@ before_script:
- if [ ! -f node_modules/.bin/markdown-toc ] ; then
npm install markdown-toc ;
fi
- go get github.com/urfave/gfmxr/...
- mkdir -p ${GOPATH%%:*}/src/gopkg.in/urfave
- rm -rvf ${GOPATH%%:*}/src/gopkg.in/urfave/cli.v2
- ln -sv ${TRAVIS_BUILD_DIR} ${GOPATH%%:*}/src/gopkg.in/urfave/cli.v2
- go get github.com/urfave/gfmxr/...
script:
- flake8 runtests cli-v1-to-v2

View File

@ -18,8 +18,9 @@ install:
- set PATH=%GOPATH%\bin;C:\go\bin;%PATH%
- go version
- go env
- git clone . c:\gopath\src\gopkg.in\urfave\cli.v2
- go get github.com/urfave/gfmxr/...
- rmdir c:\gopath\src\gopkg.in\urfave\cli.v2 /s /q
- git clone . c:\gopath\src\gopkg.in\urfave\cli.v2
- go get -v -t ./...
- if not exist node_modules\.bin\markdown-toc npm install markdown-toc