Force color output in test runs to ensure consistent behavior in Travis (Take 2)

This commit is contained in:
Logan Smyth 2017-06-26 15:59:30 -07:00
parent 892377ae57
commit b3183b1198
2 changed files with 3 additions and 2 deletions

View File

@ -13,8 +13,6 @@ node_js:
env:
- JOB=test
# Hacky fix until TravisCI fixes https://github.com/travis-ci/travis-ci/issues/7967
- FORCE_COLOR=true
script:
- 'if [ "$JOB" = "test" ]; then make test-ci; fi'

View File

@ -2,6 +2,9 @@ MAKEFLAGS = -j1
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
build: clean