From f44aeff751c93308e17accf845ba31bc7c0bdd1f Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Mon, 6 Feb 2017 12:56:03 -0500 Subject: [PATCH] Fix for build and python --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0dd35871..8f648396 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,11 +17,11 @@ matrix: - compiler: gcc addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-4.7 + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-4.7 env: COMPILER=4.7 - compiler: clang @@ -41,7 +41,7 @@ install: - export PATH="${DEPS_DIR}/cmake/bin:${PATH}" - 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 --user pathlib; fi script: - cd "${TRAVIS_BUILD_DIR}"