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
- set CTEST_OUTPUT_ON_FAILURE=1
- 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

test_script:
- set CTEST_OUTPUT_ON_FAILURE=1
- make test

Move testing to the correct stage.
AppVeyor: Move testing to the correct stage.
