From 4fe2ec8f612a2bb4f58eaf8667dc331c71c7d251 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Sat, 30 Apr 2016 17:04:19 -0500 Subject: [PATCH] Install XClip for Travis CI Request sudo to install xclip. Note that this switches the project to 'Standard Infrastructure' rather than 'container based intrastructure' http://stackoverflow.com/questions/26299552/travis-sudo-is-disabled --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 95d1be429b8..16885199b39 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ notifications: email: false -sudo: false +sudo: required language: node_js @@ -12,6 +12,8 @@ env: - GITHUB_TOKEN=1b17d62d38a4846efa7ea4de4b773b581787b0f1 before_install: + - sudo apt-get -qq update + - sudo apt-get install -y xclip - if [ $TRAVIS_OS_NAME == "linux" ]; then export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; @@ -24,4 +26,4 @@ install: script: - gulp - - npm test --silent \ No newline at end of file + - npm test --silent