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.
This commit is contained in:
roschaefer 2019-11-15 17:00:51 +01:00
parent 18ee5b4ac3
commit 4e34c668b3

View File

@ -2,11 +2,15 @@ version: "3.4"
services: services:
webapp: webapp:
environment:
- "CI=${CI}"
image: humanconnection/nitro-web:build-and-test image: humanconnection/nitro-web:build-and-test
build: build:
context: webapp context: webapp
target: build-and-test target: build-and-test
backend: backend:
environment:
- "CI=${CI}"
image: humanconnection/nitro-backend:build-and-test image: humanconnection/nitro-backend:build-and-test
build: build:
context: backend context: backend