From 4e34c668b3e88cf1187a6fcd1fac7632226310a7 Mon Sep 17 00:00:00 2001 From: roschaefer Date: Fri, 15 Nov 2019 17:00:51 +0100 Subject: [PATCH] build: less verbose output on build server I'm annoyed to scroll when I'm debugging the build server logs. I think, if you run `jest` with an environment variable `CI` set to true, it will not try to output colorized log and also does not output which test it's currently running. That should lead to the desired, smaller log on Travis CI. --- docker-compose.build-and-test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.build-and-test.yml b/docker-compose.build-and-test.yml index e8e79644f..27aa9fc6b 100644 --- a/docker-compose.build-and-test.yml +++ b/docker-compose.build-and-test.yml @@ -2,11 +2,15 @@ version: "3.4" services: webapp: + environment: + - "CI=${CI}" image: humanconnection/nitro-web:build-and-test build: context: webapp target: build-and-test backend: + environment: + - "CI=${CI}" image: humanconnection/nitro-backend:build-and-test build: context: backend