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

This commit is contained in:
Dan Buch 2016-06-17 10:42:44 -04:00
parent 3357fcd631
commit cafccda7b9
No known key found for this signature in database
GPG Key ID: FAEF12936DD3E3EC
2 changed files with 4 additions and 4 deletions

View File

@ -31,14 +31,14 @@ matrix:
- ./runtests test - ./runtests test
before_script: before_script:
- go get github.com/urfave/gfmxr/...
- $pip_install flake8 - $pip_install flake8
- if [ ! -f node_modules/.bin/markdown-toc ] ; then - if [ ! -f node_modules/.bin/markdown-toc ] ; then
npm install markdown-toc ; npm install markdown-toc ;
fi fi
- mkdir -p ${GOPATH%%:*}/src/gopkg.in/urfave - 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 - ln -sv ${TRAVIS_BUILD_DIR} ${GOPATH%%:*}/src/gopkg.in/urfave/cli.v2
- go get github.com/urfave/gfmxr/...
script: script:
- flake8 runtests cli-v1-to-v2 - flake8 runtests cli-v1-to-v2

View File

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