Skip to content

Commit

Permalink
Merge pull request #181 from erizocosmico/appveyor-gen
Browse files Browse the repository at this point in the history
test generation on appveyor
  • Loading branch information
Miguel Molina committed Jun 19, 2017
2 parents e9cc0ec + 298acd7 commit dfbdcbf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ test:
fi; \
done; \
go install ./generator/...; \
rm ./tests/kallax.go ; \
go generate ./tests/...; \
git diff --no-prefix -U1000; \
if [ `git status | grep 'Changes not staged for commit' | wc -l` != '0' ]; then \
Expand Down
9 changes: 6 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
version: build-{build}.{branch}
platform: x64

image:
- Visual Studio 2015

clone_folder: c:\gopath\src\gopkg.in\src-d\go-kallax.v1

shallow_clone: true
shallow_clone: false

environment:
GOPATH: c:\gopath
Expand All @@ -16,12 +19,12 @@ services:
- postgresql96

install:
- set PATH=C:\Program Files\PostgreSQL\9.6\bin\;%GOPATH%\bin;c:\go\bin;%PATH%
- set PATH=C:\Program Files\PostgreSQL\9.6\bin\;C:\MinGW\bin;%GOPATH%\bin;c:\go\bin;%PATH%
- go version
- go get -v -t .\...

build: off

test_script:
- createdb testing
- go test -v .\...
- mingw32-make test

0 comments on commit dfbdcbf

Please sign in to comment.