try again, with a more elegant approach to environment variables

This commit is contained in:
Thomas Fussell 2017-03-23 22:31:36 -04:00
parent 7fc5033571
commit a11645b42a

View File

@ -40,6 +40,11 @@ build:
verbosity: minimal
test_script:
- cd build\tests\%configuration%
- set PATH=C:\projects\xlnt\vcpkg\installed\%platform%-windows\debug\bin;%PATH%
- dir tests
- cd tests\%configuration%
- if [%platform%]==[Win32] set VCPKG_PLATFORM=x86-windows
- if [%platform%]==[x64] set VCPKG_PLATFORM=x64-windows
- if [%configuration%]==[Debug] set VCPKG_PLATFORM=%VCPKG_PLATFORM%\debug
- set PATH=C:\projects\xlnt\vcpkg\installed\%VCPKG_PLATFORM%\bin;%PATH%
- echo %PATH%
- xlnt.test.exe