From ad150ea085fce6a1ecc42fbfe4d1464d32cc6902 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Wed, 14 Dec 2011 11:43:00 +0800 Subject: [PATCH] Run assets:precompile with RAILS_ENV=production --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 42178cc56f..e0427daa6d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ before_script: - sh -c "if [ \"$DB\" = 'mysql' ]; then mysql -e 'create database fat_free_crm_test;'; fi" # Run RSpec tests and ensure that assets can compile without errors -script: "bundle exec rake && bundle exec rake assets:precompile" +script: "bundle exec rake && bundle exec rake assets:precompile RAILS_ENV=production" # To stop Travis from running tests for a new commit,