forked from gobuffalo/buffalo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
45 lines (32 loc) · 873 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: "{build}"
clone_depth: 5
clone_folder: c:\gopath\src\github.com\gobuffalo\buffalo
environment:
GOPATH: c:\gopath
matrix:
- GOBIN: c:\go
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
services:
- mysql
- postgresql
install:
- cmd: >-
choco install mingw
set PATH=%GOPATH%\bin;%GOBIN%\bin;c:\tools\mingw64\bin;%PATH%
echo %PATH%
echo %GOPATH%
go version
go env
build:
verbosity: normal
deploy: false
before_build:
- cmd: >-
go get -v -u github.com/mattn/go-sqlite3
go get -v -u -t ./...
build_script:
- cmd: >-
go build -v -tags sqlite github.com/gobuffalo/buffalo/buffalo
go install -tags sqlite github.com/gobuffalo/buffalo/buffalo
test_script:
- cmd: for /f "" %%G in ('go list github.com/gobuffalo/buffalo/... ^| find /i /v "/vendor/"') do ( go test -tags sqlite %%G & IF ERRORLEVEL == 1 EXIT 1)