From 81b05b9f882c122878bfba4cf02bf7b43565de30 Mon Sep 17 00:00:00 2001 From: Vladimir Iakovlev Date: Wed, 21 Nov 2018 19:31:59 +0100 Subject: [PATCH] #N/A: Fix osx travis-ci build --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 96a4609e..5adac37f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,8 +44,8 @@ addons: - python-commandnotfound - python3-commandnotfound before_install: - - if [[ $TRAVIS_OS_NAME == "osx" ]]; then rm /usr/local/include/c++ ; fi - - if [[ $TRAVIS_OS_NAME == "osx" ]]; then brew update ; fi + - if [[ $TRAVIS_OS_NAME == "osx" ]]; then rm -rf /usr/local/include/c++; fi + - if [[ $TRAVIS_OS_NAME == "osx" ]]; then brew update; fi - if [[ $TRAVIS_OS_NAME == "osx" ]]; then brew upgrade python; fi - if [[ $TRAVIS_OS_NAME == "osx" ]]; then pip3 install virtualenv; fi - if [[ $TRAVIS_OS_NAME == "osx" ]]; then virtualenv venv -p python3; fi