Browse Source

Updating Travis CI file to setup the test environment correctly

closed-social-glitch-2
Eugen Rochko 8 years ago
parent
commit
94eb142ab8
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      .travis.yml

+ 14
- 0
.travis.yml View File

@ -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

Loading…
Cancel
Save