diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index b62d6ce2d8e..f1ea16d8519 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,6 @@ +env: + - DB=mysql + - DB=sqlite before_install: sudo apt-get install libicu-dev -y branches: only: @@ -5,7 +8,7 @@ branches: rvm: - 1.9.2 before_script: - - "cp config/database.yml.sqlite config/database.yml" + - "cp config/database.yml.$DB config/database.yml" - "cp config/gitlab.yml.example config/gitlab.yml" - "bundle exec rake db:create RAILS_ENV=test" - "bundle exec rake db:migrate RAILS_ENV=test" |