Commit a797f2d2 authored by Benjamin Neff's avatar Benjamin Neff

Don't precompile all themes for tests

And sprockets 3 also caches files in tmp/cache/assets/sprockets
parent 7a264568
......@@ -15,7 +15,7 @@ cache:
bundler: true
directories:
- app/assets/images
- tmp/cache/assets/test
- tmp/cache/assets
branches:
only:
......
......@@ -22,6 +22,14 @@ Diaspora::Application.configure do
# Precompile poltergeist_disable_transition.css for tests
config.assets.precompile += %w[poltergeist_disable_transition.css]
# Don't precompile all themes for tests
config.assets.precompile -= %w[color_themes/*/desktop.css color_themes/*/mobile.css]
config.assets.precompile += %w[
color_themes/original/desktop.css
color_themes/dark_green/desktop.css
color_themes/original/mobile.css
]
# Show full error reports and disable caching
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment