From a948a1612ffbdab21de85cc23a2ea5a8f02733de Mon Sep 17 00:00:00 2001 From: Sven Fuchs Date: Fri, 29 Mar 2013 16:14:30 +0100 Subject: [PATCH] install travis-artifacts only on TEST_SUITE=ruby --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 69a7f4b6..19c4044c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,6 @@ language: ruby rvm: - 1.9.3 -before_script: - - "gem install travis-artifacts" - - "bundle exec rakep" - - "phantomjs --version" env: global: @@ -19,6 +15,10 @@ env: - "TEST_SUITE=saucelabs BROWSER='chrome::Windows 2008'" script: "script/ci" +before_script: + - "test $TEST_SUITE = \"ruby\" && gem install travis-artifacts" + - "bundle exec rakep" + - "phantomjs --version" after_script: - "bundle exec rakep" - "test $TEST_SUITE = \"ruby\" && travis-artifacts upload --target-path assets/$TRAVIS_BRANCH --path public/scripts:scripts --path public/styles:styles"