spec: enable redis on travis
Change-Id: If25a8372575241a1196bf426b7165bc120fa270a Reviewed-on: https://gerrit.instructure.com/28712 Reviewed-by: Brian Palmer <brianp@instructure.com> Product-Review: Bryan Madsen <bryan@instructure.com> QA-Review: Bryan Madsen <bryan@instructure.com> Tested-by: Jenkins <jenkins@instructure.com>
This commit is contained in:
parent
3ad41b9473
commit
6762d56110
|
@ -1,5 +1,7 @@
|
|||
rvm:
|
||||
- "1.9.3"
|
||||
services:
|
||||
- redis-server
|
||||
before_script:
|
||||
- find ./config -depth -name "*.yml.example" -exec sh -c 'cp "$1" "${1%.yml.example}.yml"' _ {} \;
|
||||
- psql -c 'create database myapp_test;' -U postgres; cp ./config/database.yml.travis ./config/database.yml
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
test:
|
||||
cache_store: redis_store
|
||||
development:
|
||||
# cache_store: redis_store
|
||||
#
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
# - redis://redis01
|
||||
# - redis://redis02
|
||||
|
||||
# test:
|
||||
# # only tests that are exercising the integration with redis require redis to run.
|
||||
# servers:
|
||||
# - redis://localhost
|
||||
# # warning: the redis database will get cleared before each test, so if you
|
||||
# # use this server for anything else, make sure to set aside a database id for
|
||||
# # these tests to use.
|
||||
# database: 1
|
||||
test:
|
||||
# only tests that are exercising the integration with redis require redis to run.
|
||||
servers:
|
||||
- redis://localhost
|
||||
# warning: the redis database will get cleared before each test, so if you
|
||||
# use this server for anything else, make sure to set aside a database id for
|
||||
# these tests to use.
|
||||
database: 1
|
||||
|
|
Loading…
Reference in New Issue