From 645e59125623b50601813186c8dcc840b1484ef8 Mon Sep 17 00:00:00 2001 From: Tristan Cacqueray Date: Wed, 15 Aug 2018 08:37:30 +0000 Subject: [PATCH] npm: add CI=true environment The jest test framework needs this variable to exit after test execution. Change-Id: I40916716da04b7e86038d05385afc7e24bce6afa --- roles/npm/tasks/main.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/npm/tasks/main.yaml b/roles/npm/tasks/main.yaml index a14a0516a..c3bd67f52 100644 --- a/roles/npm/tasks/main.yaml +++ b/roles/npm/tasks/main.yaml @@ -10,6 +10,7 @@ # framebuffer is set up for doing browser tests. environment: DISPLAY: ':99' + CI: 'true' args: chdir: "{{ zuul_work_dir }}" @@ -20,5 +21,6 @@ # framebuffer is set up for doing browser tests. environment: DISPLAY: ':99' + CI: 'true' args: chdir: "{{ zuul_work_dir }}"