version: '{build}'

clone_folder: c:\gopath\src\gopkg.in\reform.v1

services:
  - mssql2008r2sp2

environment:
  GOPATH: c:\gopath
  REFORM_SQL_INSTANCE: 127.0.0.1\SQL2008R2SP2
  TARGET: test_win_denisenkom_go-mssqldb
# TODO replace with yours
  COVERALLS_TOKEN:
    secure: dO1+hFosmRDJTiuFSEV0Px2BYUwntKN34z2N077fRDgySfV9NZj0WwnXo4fQsydp

install:
  - set PATH=C:\msys64\mingw64\bin;%PATH%;%GOPATH%\bin
  - go version
  - where mingw32-make
  - where gcc

before_build:
  - sc config SQLBrowser start=demand
  - net start SQLBrowser

build_script:
  - mingw32-make init

test_script:
  - mingw32-make test
  - mingw32-make %TARGET%

on_success:
  - if defined COVERALLS_TOKEN goveralls -coverprofile=%TARGET%.cover -service=

version: '{build}'

clone_folder: c:\gopath\src\gopkg.in\reform.v1

services:
  - mssql2008r2sp2

environment:
  GOPATH: c:\gopath
  REFORM_SQL_INSTANCE: 127.0.0.1\SQL2008R2SP2
  TARGET: test_win_denisenkom_go-mssqldb
  COVERALLS_TOKEN:
    secure: +o9WB0T57udDJzTTSmKMg0O5hrP2e0rAuBL36/foBRYTg8VKccp2G8ovxJi4hsmD

install:
  - set PATH=C:\msys64\mingw64\bin;%PATH%;%GOPATH%\bin
  - go version
  - where mingw32-make
  - where gcc

before_build:
  - sc config SQLBrowser start=demand
  - net start SQLBrowser

build_script:
  - mingw32-make init

test_script:
  - mingw32-make test
  - mingw32-make %TARGET%

on_success:
  - if defined COVERALLS_TOKEN goveralls -coverprofile=%TARGET%.cover -service=

Update Coveralls token for AppVeyor.
Update Coveralls token for AppVeyor.