build_script:
  - cmd: 'c:\cygwin\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; autoreconf -i && ./configure && make && make check"'

environment:
  matrix:
  - MSYSTEM: MINGW64
    BASH_PATH: C:\msys64\usr\bin\bash
  - BASH_PATH: c:\cygwin\bin\bash

build_script:
- cmd: '%BASH_PATH% -lc "cd $APPVEYOR_BUILD_FOLDER; autoreconf -i && ./configure && make && make check"'

Add MSYS2/Mingw64 to Appveyor CI
Add MSYS2/Mingw64 to Appveyor CI