Skip to content

Commit dfbdcbf

Browse files
author
Miguel Molina
authored
Merge pull request #181 from erizocosmico/appveyor-gen
test generation on appveyor
2 parents e9cc0ec + 298acd7 commit dfbdcbf

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ test:
1919
fi; \
2020
done; \
2121
go install ./generator/...; \
22+
rm ./tests/kallax.go ; \
2223
go generate ./tests/...; \
2324
git diff --no-prefix -U1000; \
2425
if [ `git status | grep 'Changes not staged for commit' | wc -l` != '0' ]; then \

appveyor.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
version: build-{build}.{branch}
22
platform: x64
33

4+
image:
5+
- Visual Studio 2015
6+
47
clone_folder: c:\gopath\src\gopkg.in\src-d\go-kallax.v1
58

6-
shallow_clone: true
9+
shallow_clone: false
710

811
environment:
912
GOPATH: c:\gopath
@@ -16,12 +19,12 @@ services:
1619
- postgresql96
1720

1821
install:
19-
- set PATH=C:\Program Files\PostgreSQL\9.6\bin\;%GOPATH%\bin;c:\go\bin;%PATH%
22+
- set PATH=C:\Program Files\PostgreSQL\9.6\bin\;C:\MinGW\bin;%GOPATH%\bin;c:\go\bin;%PATH%
2023
- go version
2124
- go get -v -t .\...
2225

2326
build: off
2427

2528
test_script:
2629
- createdb testing
27-
- go test -v .\...
30+
- mingw32-make test

0 commit comments

Comments
 (0)