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:
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