image: Visual Studio 2017 clone_depth: 5 install: - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" - C:\Miniconda36-x64\Scripts\activate base - conda install --yes numpy pytest - conda list before_build: - set SOURCE_FOLDER=%APPVEYOR_BUILD_FOLDER% - set BUILD_FOLDER=%SOURCE_FOLDER%\build - set INSTALL_FOLDER=%SOURCE_FOLDER%\install - mkdir %BUILD_FOLDER% & cd %BUILD_FOLDER% - cmake -A x64 -DCMAKE_C_FLAGS="/wd4018 /wd4101 /wd4996" -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=true -DCMAKE_INSTALL_PREFIX=%INSTALL_FOLDER% -DINSTALL_PYMOD=ON .. build_script: - cmake --build . after_build: - cmake --build . --target install before_test: - cd .. - set PYTHONPATH=%INSTALL_FOLDER%\lib test_script: - set GAU2GRID_FORCE_C_TEST=1 - pytest -rws -v %INSTALL_FOLDER%