From 9a4d6750fc5d8f3ed132e220a97a8cf26ec729be Mon Sep 17 00:00:00 2001 From: rgarcia Date: Mon, 15 Jan 2018 23:41:37 +0100 Subject: [PATCH] Clean up asset precompilation output from travis logs Asset precompilation generates a lot of logs, making it slower to scroll down to see the commonly relevant information, knowing what spec has failed Redirecting standard error and standard output to dev/null helps reach this information faster --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 63d0a194f..a971bb8b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,8 @@ before_script: - for i in config/*.example; do cp "$i" "${i/.example}"; done - bundle exec rake db:setup script: -- bundle exec rake assets:precompile RAILS_ENV=test -- bin/knapsack_pro_rspec + - "bundle exec rake assets:precompile RAILS_ENV=test > /dev/null 2>&1" + - "bin/knapsack_pro_rspec" env: global: - KNAPSACK_PRO_FIXED_QUEUE_SPLIT=true