From ca48a639c593e91810dd44d9566569ebb926a218 Mon Sep 17 00:00:00 2001 From: yafeilee Date: Mon, 25 Apr 2016 14:36:42 +0800 Subject: [PATCH] Travis ci --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 363c049..678fc2b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,9 +11,9 @@ before_install: - "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc" - "gem install bundler" - "bundle -v" + - "cp -f config/database.yml.example config/database.yml" + - "bundle exec rake db:drop db:create db:schema:load --trace 2>&1" -before_script: - - "bundle exec rake travis:before_script" services: - postgresql