environment: global: CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\python-appveyor-demo\\appveyor\\run_with_env.cmd" platform: - x64 - x86 configuration: - Release install: - cmd: git clone https://github.com/ogrisel/python-appveyor-demo - ECHO "Filesystem root:" - ps: "ls \"C:/\"" - ECHO "Installed SDKs:" - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\"" - ps: if (-not(Test-Path($env:PYTHON))) { & python-appveyor-demo\appveyor\install.ps1 } - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - "python --version" - "python -c \"import struct; print(struct.calcsize('P') * 8)\"" - "%CMD_IN_ENV% pip install numpy scipy nose" build: project: windows\xgboost.sln test_script: - "%CMD_IN_ENV% nosetests test\\python"