diff --git a/.travis.yml b/.travis.yml index c879139..46bd7ef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,9 +35,7 @@ before_script: - if [ ! -f node_modules/.bin/markdown-toc ] ; then npm install markdown-toc ; fi -- 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 +- git clone . ${GOPATH%%:*}/src/gopkg.in/urfave/cli.v2 - go get github.com/urfave/gfmxr/... script: diff --git a/appveyor.yml b/appveyor.yml index f51a9e2..ae91cd4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -16,9 +16,7 @@ install: - set PATH=%GOPATH%\bin;C:\go\bin;%PATH% - go version - go env -- mkdir c:\gopath\src\gopkg.in\urfave -- robocopy c:\gopath\src\github.com\urfave\cli c:\gopath\src\gopkg.in\urfave\cli.v2 - /DCOPY:DA /MIR /FFT /Z /XA:SH /R:0 /TEE /XJD ^& IF %ERRORLEVEL% LEQ 4 exit 0 +- git clone . c:\gopath\src\gopkg.in\urfave\cli.v2 - go get github.com/urfave/gfmxr/... - go get -v -t ./...