commit: 94eb142ab867ef9b25da70d080ee75e2757e29e6
parent: 9a7485d03407b8177a51d900ac9aabbca893a2c1
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Fri, 18 Mar 2016 23:31:07 +0100
Updating Travis CI file to setup the test environment correctly
Diffstat:
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git 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