From 41458b5191925b946789b00c518aa7c1013088e3 Mon Sep 17 00:00:00 2001 From: sersut Date: Thu, 12 Jun 2014 15:29:09 -0700 Subject: Run travis tests as sudo. --- .travis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5c45a016b6..7468edc2d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,10 @@ # # This workaround should be removed when that fix is released. before_install: - - gem update --system 2.1.11 - - gem --version + - echo $PATH + - sudo gem install bundler + - sudo gem update --system 2.1.11 + - sudo gem --version matrix: include: @@ -19,7 +21,7 @@ matrix: - rvm: 2.1.1 - rvm: 2.1.1 gemfile: pedant.gemfile - script: bundle exec rake pedant + script: sudo bundle exec rake pedant branches: only: @@ -27,7 +29,7 @@ branches: - 10-stable - 11-stable -script: bundle exec rspec --color --format progress +script: sudo bundle exec rspec --color --format progress notifications: on_success: change -- cgit v1.2.1