install:
- C:\msys64\usr\bin\pacman -Syu --noconfirm make mingw-w64-x86_64-clang mingw-w64-x86_64-boost mingw-w64-x86_64-yaml-cpp mingw-w64-x86_64-python2

build_script:
- set MSYSTEM=MINGW64
- set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%
- cd build
- cmake -G"MSYS Makefiles" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang ..
- make
- make test

install:
- C:\msys64\usr\bin\pacman -Syu --noconfirm make mingw-w64-x86_64-clang mingw-w64-x86_64-boost mingw-w64-x86_64-yaml-cpp mingw-w64-x86_64-python2

build_script:
- set MSYSTEM=MINGW64
- set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%
- cd build
- 'cmake -G"MSYS Makefiles" -DCMAKE_EXE_LINKER_FLAGS="-Wl,--allow-multiple-definition" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang ..' # --allow-multiple-definition for https://llvm.org/bugs/show_bug.cgi?format=multiple&id=9744
- make
- make test

Work around bug in Clang on 64-bit mingw-w64 target.
AppVeyor: Work around bug in Clang on 64-bit mingw-w64 target.

See https://llvm.org/bugs/show_bug.cgi?format=multiple&id=9744 for more info.
