Revert "Revert "appveyor: test nanomsg before building criterion""

This reverts commit d4b73473c0097dfdb447a795bac8815a183e4b03.
This commit is contained in:
Snaipe 2016-04-25 22:19:23 +02:00
parent 92f9838c78
commit a791ab34b9

View file

@ -55,6 +55,20 @@ install:
# Patch buggy cram
- sh -c "patch C:/Python34/Lib/site-packages/cram.py .cmake/cram-win.patch"
# Test nanomsg
- 'git clone https://github.com/nanomsg/nanomsg'
- 'cd nanomsg'
- 'mkdir build && cd build'
- >
cmake
-DCMAKE_BUILD_TYPE="%CONFIGURATION%"
-G "%GENERATOR%"
..
- cmake --build . 0<nul
- ctest --output-on-failure --timeout 20 --repeat-until-fail 50 --schedule-random
- cd ..
- cd ..
- ps: $env:RELEASE_NAME = $env:APPVEYOR_REPO_BRANCH -replace "/", "-"
# Hack to make git think it is on the tip of the repo branch
- 'git checkout -B %APPVEYOR_REPO_BRANCH%'