Commit 03d3109955032ae8154ec733803ff6e9f39add06

Authored by Henry Fredrick Schreiner
1 parent 82f60419

Trying to fix travis

Showing 1 changed file with 2 additions and 2 deletions
.travis.yml
... ... @@ -27,7 +27,7 @@ matrix:
27 27 - compiler: clang
28 28  
29 29 install:
30   - - echo "Python version: $(python -c 'import sys; print(sys.version_info[:])')"
  30 + - python -c 'import sys; print(sys.version_info[:])'
31 31 - if [ "$CXX" = "g++" ]; then export CXX="g++-$COMPILER" CC="gcc-$COMPILER"; fi
32 32 - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
33 33 - CMAKE_URL="https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz"
... ... @@ -41,7 +41,7 @@ install:
41 41  
42 42 - export PATH="${DEPS_DIR}/cmake/bin:${PATH}"
43 43 - cd "${DEPS_DIR}"
44   - - if [[ $(python -c 'import sys; print(sys.version_info[0])') == 2 ]]; then pip install pathlib; fi
  44 + - if [ "$(python -c 'import sys; print(sys.version_info[0])')" = "2" ] ; then pip install pathlib; fi
45 45  
46 46 script:
47 47 - cd "${TRAVIS_BUILD_DIR}"
... ...