mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-29 04:03:52 +00:00
33 lines
729 B
YAML
33 lines
729 B
YAML
version: 1.9.0.{build}
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
install:
|
|
- git submodule update --init --recursive
|
|
- set PATH=C:\Python36;%PATH%
|
|
- cmake --version
|
|
- pip install conan
|
|
- conan user
|
|
- conan --version
|
|
|
|
build_script:
|
|
- mkdir build
|
|
- cd build
|
|
- ps: cmake .. -DCLI11_WARNINGS_AS_ERRORS=ON -DCLI11_SINGLE_FILE_TESTS=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_GENERATOR="Visual Studio 14 2015"
|
|
- ps: cmake --build .
|
|
- cd ..
|
|
- conan create . CLIUtils/CLI11
|
|
|
|
test_script:
|
|
- cd build
|
|
- ps: ctest --output-on-failure -C Debug
|
|
|
|
notifications:
|
|
- provider: Webhook
|
|
url: https://webhooks.gitter.im/e/0185e91c5d989a476d7b
|
|
on_build_success: false
|
|
on_build_failure: true
|
|
on_build_status_changed: true
|