mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 17:53:41 +01:00
Updating Travis CI file to setup the test environment correctly
This commit is contained in:
parent
9a7485d034
commit
94eb142ab8
1 changed files with 14 additions and 0 deletions
14
.travis.yml
14
.travis.yml
|
@ -1,9 +1,23 @@
|
||||||
language: ruby
|
language: ruby
|
||||||
cache: bundler
|
cache: bundler
|
||||||
|
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- LOCAL_DOMAIN=example.com
|
||||||
|
- LOCAL_HTTPS=false
|
||||||
|
|
||||||
|
addons:
|
||||||
|
postgresql: 9.4
|
||||||
|
|
||||||
rvm:
|
rvm:
|
||||||
- 2.2.4
|
- 2.2.4
|
||||||
|
|
||||||
|
services:
|
||||||
|
- redis-server
|
||||||
|
|
||||||
bundler_args: --without development --retry=3 --jobs=3
|
bundler_args: --without development --retry=3 --jobs=3
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- bundle exec rake db:create db:migrate
|
||||||
|
|
||||||
script: bundle exec rspec
|
script: bundle exec rspec
|
||||||
|
|
Loading…
Reference in a new issue