summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/ci.rake5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake
index df6299560..ab7eb2341 100644
--- a/lib/tasks/ci.rake
+++ b/lib/tasks/ci.rake
@@ -13,7 +13,10 @@ namespace :ci do
task :setup do
Rake::Task["tmp:clear"].invoke
Rake::Task["log:clear"].invoke
- Rake::Task["db:create:all"].invoke
+ database = ENV['DATABASE_ADAPTER']
+ unless Object.const_defined?(:JRUBY_VERSION) && database =~ /sqlite3/
+ Rake::Task["db:create:all"].invoke
+ end
Rake::Task["db:migrate"].invoke
Rake::Task["db:schema:dump"].invoke
Rake::Task["test:scm:setup:all"].invoke