Skip to content

Commit

Permalink
add redis to drone
Browse files Browse the repository at this point in the history
  • Loading branch information
orhanhenrik committed Feb 18, 2019
1 parent f3cd54b commit 1c17473
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pipeline:
- sudo su -c "mkdir -p /root/.config/yarn/"
- sudo su -c "chown -R circleci:circleci ."
- sudo su -c "chown -R circleci:circleci /root/"
- MONGO_URL=mongodb://mongodb:27017/vote-integration-test HEADLESS=true yarn protractor
- MONGO_URL=mongodb://mongodb:27017/vote-integration-test REDIS_URL=redis HEADLESS=true yarn protractor
lint:
image: node:11
when:
Expand All @@ -39,7 +39,7 @@ pipeline:
- pull_request
group: testing
commands:
- MONGO_URL=mongodb://mongodb:27017/vote-test yarn mocha
- MONGO_URL=mongodb://mongodb:27017/vote-test REDIS_URL=redis yarn mocha
build:
image: node:11
when:
Expand Down Expand Up @@ -68,3 +68,5 @@ pipeline:
services:
mongodb:
image: mongo:3.6
redis:
image: redis:latest

0 comments on commit 1c17473

Please sign in to comment.