From 337f33baad986d7e25cf074aad3762e27de2b043 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 14 Mar 2019 14:08:54 -0400 Subject: [PATCH] [CI] Use Travis Homebrew addon instead of manual brew commands This should reduce the time needed to set up the build environment and avoid build failures associated with errors while updating irrelevant homebrew packages. --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 54364c6fa..139a86f43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,11 @@ addons: - libboost-dev - doxygen - graphviz + homebrew: + packages: + - scons + - boost + - python ssh_known_hosts: - cantera.org @@ -29,12 +34,7 @@ env: before_script: | echo TRAVIS_OS_NAME: $TRAVIS_OS_NAME if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - brew update > /dev/null - brew cask uninstall oclint # See https://github.com/travis-ci/travis-ci/issues/8826 - brew upgrade python # Installs Python 3 - brew install scons # Install SCons which *should* use Python 3 pip3 install numpy cython # Install numpy and Cython for Python 3 - brew install boost else pip3 install --user --upgrade pip pip3 install --user --upgrade setuptools wheel