From 94eb142ab867ef9b25da70d080ee75e2757e29e6 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 18 Mar 2016 23:31:07 +0100 Subject: Updating Travis CI file to setup the test environment correctly --- .travis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.travis.yml b/.travis.yml index e15efa97c..8bb2b9016 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,23 @@ language: ruby cache: bundler +env: + global: + - LOCAL_DOMAIN=example.com + - LOCAL_HTTPS=false + +addons: + postgresql: 9.4 + rvm: - 2.2.4 +services: + - redis-server + bundler_args: --without development --retry=3 --jobs=3 +before_script: + - bundle exec rake db:create db:migrate + script: bundle exec rspec -- cgit