Don't use parallel builds since it makes appveyor run out of ram. Also

simplified script a little.
This commit is contained in:
Davis King 2017-05-14 19:40:10 -04:00
parent a1c3b0672a
commit 77b051bef0
1 changed files with 2 additions and 7 deletions

View File

@ -7,14 +7,9 @@ build_script:
- mkdir %APPVEYOR_BUILD_FOLDER%\build_test
- cd %APPVEYOR_BUILD_FOLDER%\build_test
- cmake -G "Visual Studio 14 2015 Win64" ../dlib/test
- cmake --build . --config %CONFIGURATION% --target dtest -- /m /verbosity:minimal
# build examples
- mkdir %APPVEYOR_BUILD_FOLDER%\build_examples
- cd %APPVEYOR_BUILD_FOLDER%\build_examples
- cmake -G "Visual Studio 14 2015 Win64" ../examples
- cmake --build . --config %CONFIGURATION% -- /m /verbosity:minimal
- cmake --build . --config %CONFIGURATION%
test_script:
# run test
- cd %APPVEYOR_BUILD_FOLDER%\build_test\%CONFIGURATION%
- dtest --runall
- dtest --runall