From: Eugen Rochko Date: Fri, 18 Mar 2016 22:31:07 +0000 (+0100) Subject: Updating Travis CI file to setup the test environment correctly X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=94eb142ab867ef9b25da70d080ee75e2757e29e6;p=mastodon.git Updating Travis CI file to setup the test environment correctly --- 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