Force color output in test runs to ensure consistent behavior in Travis (Take 2)
This commit is contained in:
parent
892377ae57
commit
b3183b1198
@ -13,8 +13,6 @@ node_js:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
- JOB=test
|
- JOB=test
|
||||||
# Hacky fix until TravisCI fixes https://github.com/travis-ci/travis-ci/issues/7967
|
|
||||||
- FORCE_COLOR=true
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- 'if [ "$JOB" = "test" ]; then make test-ci; fi'
|
- 'if [ "$JOB" = "test" ]; then make test-ci; fi'
|
||||||
|
|||||||
3
Makefile
3
Makefile
@ -2,6 +2,9 @@ MAKEFLAGS = -j1
|
|||||||
|
|
||||||
export NODE_ENV = test
|
export NODE_ENV = test
|
||||||
|
|
||||||
|
# Fix color output until TravisCI fixes https://github.com/travis-ci/travis-ci/issues/7967
|
||||||
|
export FORCE_COLOR = true
|
||||||
|
|
||||||
.PHONY: build build-dist watch lint fix clean test-clean test-only test test-ci publish bootstrap
|
.PHONY: build build-dist watch lint fix clean test-clean test-only test test-ci publish bootstrap
|
||||||
|
|
||||||
build: clean
|
build: clean
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user