1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-01 13:13:53 +00:00

Fixing Travis builds

This commit is contained in:
Henry Fredrick Schreiner 2017-11-30 14:51:22 -05:00
parent 14f1c9b88a
commit 91a8698c90
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ matrix:
- COMPILER=4.7
- os: osx
before_install:
- python -m ensurepip
- python -m ensurepip --default-pip
install:
- python -c 'import sys; print(sys.version_info[:])'
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
@ -61,7 +61,7 @@ install:
- if [ "$TRAVIS_OS_NAME" = "linux" ] ; then cd $TRAVIS_BUILD_DIR && . .ci/build_doxygen.sh ; fi
- if [ -n "$COVERALLS" ] ; then cd $TRAVIS_BUILD_DIR && . .ci/build_lcov.sh ; fi
- cd "${DEPS_DIR}"
- if [ "$(python -c 'import sys; print(sys.version_info[0])')" = "2" ] ; then pip install --user pathlib ; fi
- if [ "$(python -c 'import sys; print(sys.version_info[0])')" = "2" ] ; then python -m pip install --user pathlib ; fi
- cmake --version
script:
- cd "${TRAVIS_BUILD_DIR}"

View File

@ -361,7 +361,7 @@ class App {
help_ptr_ = add_flag(name, description);
help_ptr_->configurable(false);
}
return help_ptr_;
}