mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-29 04:03:52 +00:00
* add some tests with default capture on the two parameter template and some notes about it in the README.md remove the test from visual studio 2015 vs2015 doesn't seem to properly deal with is_assignable in the cases we care about so make a standalone version that is more direct in what we are doing add version to appveyor and add some notes to the readme fix a few test cases to make sure code is covered and test a few other paths remove unneeded enum streaming operator add some diagnostic escapes around trait code to eliminate gcc Wnarrowing warnings work specification of the template operations remove optional add some templates for options conversions add the two parameter template for add_option * Fix some comments from Code review and add more description * fix case when string_view doesn't work to append to a string. * This PR also addressed #300 * modify lexical_cast to take const std::string &, instead of by value to allow string_view in a few cases
33 lines
729 B
YAML
33 lines
729 B
YAML
version: 1.8.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
|