Install gfmxr after symlinking into gopkg.in/urfave/cli.v2

main
Dan Buch 8 years ago
parent 3357fcd631
commit cafccda7b9
No known key found for this signature in database
GPG Key ID: FAEF12936DD3E3EC

@ -31,14 +31,14 @@ matrix:
- ./runtests test
before_script:
- go get github.com/urfave/gfmxr/...
- $pip_install flake8
- 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
- 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

@ -16,10 +16,10 @@ install:
- set PATH=%GOPATH%\bin;C:\go\bin;%PATH%
- go version
- go env
- go get github.com/urfave/gfmxr/...
- go get -v -t ./...
- mkdir c:\gopath\src\gopkg.in\urfave
- mklink c:\gopath\src\github.com\urfave\cli c:\gopath\src\gopkg.in\urfave\cli.v2
- go get github.com/urfave/gfmxr/...
- go get -v -t ./...
build_script:
- python runtests vet

Loading…
Cancel
Save