File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ pipeline:
2121 - sudo su -c "mkdir -p /root/.config/yarn/"
2222 - sudo su -c "chown -R circleci:circleci ."
2323 - sudo su -c "chown -R circleci:circleci /root/"
24- - MONGO_URL=mongodb://mongodb:27017/vote-integration-test HEADLESS=true yarn protractor
24+ - MONGO_URL=mongodb://mongodb:27017/vote-integration-test REDIS_URL=redis HEADLESS=true yarn protractor
2525 lint :
2626 image : node:11
2727 when :
@@ -39,7 +39,7 @@ pipeline:
3939 - pull_request
4040 group : testing
4141 commands :
42- - MONGO_URL=mongodb://mongodb:27017/vote-test yarn mocha
42+ - MONGO_URL=mongodb://mongodb:27017/vote-test REDIS_URL=redis yarn mocha
4343 build :
4444 image : node:11
4545 when :
@@ -68,3 +68,5 @@ pipeline:
6868services :
6969 mongodb :
7070 image : mongo:3.6
71+ redis :
72+ image : redis:latest
You can’t perform that action at this time.
0 commit comments