From dc72a6389a9aa5c2245e03e97ffca3d735c256f7 Mon Sep 17 00:00:00 2001 From: Jerko Steiner Date: Sat, 14 Mar 2020 09:10:33 +0100 Subject: [PATCH] Update CI entries for redis --- .drone.yml | 15 +++++++++------ .gitlab-ci.yml | 5 ++++- .travis.yml | 2 ++ 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 032033f..15fe4be 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,13 +4,16 @@ type: docker name: default steps: - - name: build - image: node:12 - commands: - - npm install - - npm run ci +- name: build + image: node:12 + commands: + - npm install + - npm run ci +services: +- name: redis + image: redis:5-alpine --- kind: signature -hmac: a49a1e7c428472d0237bb2ba73511965607384f45114941b869c6a9eff7aef70 +hmac: a88ee9f582a6f84910dc99e1deac94587796a88b0fda212c78a4c80422bbf33b ... diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cf4f4ca..0e6014b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,12 @@ stages: - test - test: image: node:12 stage: test + variables: + TEST_REDIS_HOST: redis script: - npm install - npm run ci +services: + redis:5-alpine diff --git a/.travis.yml b/.travis.yml index 5ac5755..7516ab1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,6 @@ language: node_js +services: + - redis-server node_js: - "8" - "12"