Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Automate Windows Testing #522

Closed
paganotoni opened this issue Jul 14, 2017 · 3 comments
Closed

Automate Windows Testing #522

paganotoni opened this issue Jul 14, 2017 · 3 comments
Labels
help wanted Feel free to contribute! os-specific This issue is OS-specific
Milestone

Comments

@paganotoni
Copy link
Member

Some of the issues we've been receiving on Buffalo are related with Windows, that is because typically contributors use Linux/MacOS machines to develop and our CI runs a Docker image that is another Linux machine.

It is important to provide a more stable experience to our Windows users that allow them to engage with buffalo as well as build new applications using the Ecosystem, otherwise new-coming Windows users will leave buffalo even before start.

Before 1.0.0 we should make sure we have some automated Windows testing that allows us to ensure a better experience for new Windows users as well as Unix users moving to Windows.

@paganotoni paganotoni added this to the 1.0.0 milestone Jul 14, 2017
@paganotoni
Copy link
Member Author

I just did a quick search and one of the things we could do is implement https://www.appveyor.com/ inside our repo.

@markbates markbates added help wanted Feel free to contribute! os-specific This issue is OS-specific labels Nov 13, 2017
@stanislas-m
Copy link
Member

@paganotoni @markbates Here is a starting point using appveyor:

version: '{build}'

image: Visual Studio 2017

clone_depth: 5

clone_folder: c:\gopath\src\github.com\gobuffalo\buffalo

environment:
  GOPATH: c:\gopath

services:
- mysql
- postgresql

install:
- cmd: >-
    choco install mingw
    set PATH=%GOPATH%\bin;c:\go\bin;c:\tools\mingw64\bin;%PATH%
    echo %PATH%
    echo %GOPATH%
    go version
    go env

build_script:
- cmd: go get -v -t ./...

test_script:
- cmd: for /f "" %%G in ('go list github.com/gobuffalo/buffalo/... ^| find /i /v "/vendor/"') do ( go test %%G & IF ERRORLEVEL == 1 EXIT 1)

@paganotoni
Copy link
Member Author

@stanislas-m @markbates my initial thoughts on this tickets are fulfilled by adding appveyor, closing this ticket now, thanks!

@stanislas-m stanislas-m modified the milestones: v1.0.0, 0.10.3 Jun 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Feel free to contribute! os-specific This issue is OS-specific
Projects
None yet
Development

No branches or pull requests

3 participants