Skip to content

Commit

Permalink
chore(project): build on AppVeyor
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Coulon <[email protected]>
  • Loading branch information
xcoulon committed Feb 17, 2018
1 parent 613a112 commit 2f0e203
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
version: "{build}"

# Source Config

clone_folder: c:\gopath\src\github.com\bytesparadise\libasciidoc

# Build host

environment:
GOPATH: c:\gopath
DEPTESTBYPASS501: 1
GOVERSION: 1.8

init:
- git config --global core.autocrlf input

# Build

install:
# Install ginkgo.
- go get -u github.com/golang/dep/cmd/dep
- c:\gopath\src\github.com\golang\dep\cmd\dep ensure
- go get -v github.com/onsi/ginkgo/ginkgo
- go get -v github.com/onsi/gomega
- go version
- go env

build: false
deploy: false

test_script:
- go build github.com/bytesparadise\libasciidoc
- for /f "" %%G in ('go list github.com/bytesparadise/libasciidoc/... ^| find /i /v "/vendor/"') do ( ginkgo -v %%G & IF ERRORLEVEL == 1 EXIT 1)


0 comments on commit 2f0e203

Please sign in to comment.