Skip to content

Commit

Permalink
Add appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno M V Souza committed Jul 13, 2018
1 parent f1599fc commit 3e7fad3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: build-{build}.{branch}

clone_folder: C:\gopath\src\go.bmvs.io\ynab
shallow_clone: true # for startup speed

environment:
GOPATH: C:\gopath

platform:
- x64

# http://www.appveyor.com/docs/installed-software
install:
# some helpful output for debugging builds
- go version
- go env
# pre-installed MinGW at C:\MinGW is 32bit only
# but MSYS2 at C:\msys64 has mingw64
- set PATH=C:\msys64\mingw64\bin;%PATH%
- gcc --version
- g++ --version
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- dep ensure

test_script:
- set PATH=C:\gopath\bin;%PATH%
- go test -v -race $(go list ./... | grep -v vendor)

#artifacts:
# - path: '%GOPATH%\bin\*.exe'
deploy: false
build: false

0 comments on commit 3e7fad3

Please sign in to comment.