Switch back to symlinking on Linux and Mac
and fix existence of markdown-toc on Windows
This commit is contained in:
parent
a8027b8491
commit
11311185a0
@ -35,7 +35,9 @@ before_script:
|
|||||||
- 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
|
||||||
- git clone . ${GOPATH%%:*}/src/gopkg.in/urfave/cli.v2
|
- 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/...
|
- go get github.com/urfave/gfmxr/...
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
@ -4,6 +4,9 @@ os: Windows Server 2012 R2
|
|||||||
|
|
||||||
clone_folder: c:\gopath\src\github.com\urfave\cli
|
clone_folder: c:\gopath\src\github.com\urfave\cli
|
||||||
|
|
||||||
|
cache:
|
||||||
|
- node_modules
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
GOPATH: C:\gopath
|
GOPATH: C:\gopath
|
||||||
GOVERSION: 1.6
|
GOVERSION: 1.6
|
||||||
@ -19,6 +22,9 @@ install:
|
|||||||
- git clone . c:\gopath\src\gopkg.in\urfave\cli.v2
|
- git clone . c:\gopath\src\gopkg.in\urfave\cli.v2
|
||||||
- go get github.com/urfave/gfmxr/...
|
- go get github.com/urfave/gfmxr/...
|
||||||
- go get -v -t ./...
|
- go get -v -t ./...
|
||||||
|
- ps: Install-Product node 6
|
||||||
|
- ps: $MarkdownTocExists = Test-Path node_modules\.bin\markdown-toc
|
||||||
|
- ps: if ($MarkdownTocExists -eq $False) { npm install markdown-toc }
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- python runtests vet
|
- python runtests vet
|
||||||
|
Loading…
Reference in New Issue
Block a user