From 19ad1f11566caaf40e3010819be65e1032b23aff Mon Sep 17 00:00:00 2001 From: Mickey Rose Date: Sat, 25 Aug 2018 14:53:25 +0200 Subject: [PATCH] travis: shortcut (cherry picked from commit 5d51bdde7ae179f0357393592adef896127e4437) --- .travis.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 95f559492..34046e3fa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,13 +52,10 @@ matrix: env: JOBS=4 CXX="ccache clang++ -Qunused-arguments" before_install: + - source scripts/travis-common.sh # workaround travis rvm bug # http://superuser.com/questions/1044130/why-am-i-having-how-can-i-fix-this-error-shell-session-update-command-not-f - - | - if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then - rvm get head || true - fi - - source scripts/travis-common.sh + - on 'osx' rvm get head || true - export PATH=${PREFIX}/bin:$(pwd)/mason_packages/.link/bin:${PATH} - export COVERAGE=${COVERAGE:-false} - export BENCH=${BENCH:-false}