1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-05 06:33:52 +00:00

Trying to fix travis

This commit is contained in:
Henry Fredrick Schreiner 2017-02-06 12:52:09 -05:00
parent 82f604191f
commit 03d3109955

View File

@ -27,7 +27,7 @@ matrix:
- compiler: clang - compiler: clang
install: install:
- echo "Python version: $(python -c 'import sys; print(sys.version_info[:])')" - python -c 'import sys; print(sys.version_info[:])'
- if [ "$CXX" = "g++" ]; then export CXX="g++-$COMPILER" CC="gcc-$COMPILER"; fi - if [ "$CXX" = "g++" ]; then export CXX="g++-$COMPILER" CC="gcc-$COMPILER"; fi
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps" - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
- CMAKE_URL="https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz" - CMAKE_URL="https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz"
@ -41,7 +41,7 @@ install:
- export PATH="${DEPS_DIR}/cmake/bin:${PATH}" - export PATH="${DEPS_DIR}/cmake/bin:${PATH}"
- cd "${DEPS_DIR}" - cd "${DEPS_DIR}"
- if [[ $(python -c 'import sys; print(sys.version_info[0])') == 2 ]]; then pip install pathlib; fi - if [ "$(python -c 'import sys; print(sys.version_info[0])')" = "2" ] ; then pip install pathlib; fi
script: script:
- cd "${TRAVIS_BUILD_DIR}" - cd "${TRAVIS_BUILD_DIR}"