From dbec56c68ae472063165e1967b730fea0e37cfce Mon Sep 17 00:00:00 2001 From: MS Berends <31037261+msberends@users.noreply.github.com> Date: Thu, 29 Mar 2018 13:16:08 +0200 Subject: [PATCH] Update .travis.yml --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index d1821178..0e79c45a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,9 +11,10 @@ os: - linux - osx sudo: true -before_install: - - sudo apt-get -qq update - - sudo apt-get install -y xclip +install: + - if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get -qq update; fi + - if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install -y xclip; fi + - if [ $TRAVIS_OS_NAME = osx ]; then sudo brew install xclip; fi # postrun after_success: