about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-18 23:31:07 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-18 23:31:07 +0100
commit94eb142ab867ef9b25da70d080ee75e2757e29e6 (patch)
treea39f855aaae936739e423333be3c68cd65010bed
parent9a7485d03407b8177a51d900ac9aabbca893a2c1 (diff)
Updating Travis CI file to setup the test environment correctly
-rw-r--r--.travis.yml14
1 files changed, 14 insertions, 0 deletions
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