Fix console coloring for scripts

This commit is contained in:
Paulus Schoutsen 2015-12-27 19:18:03 -08:00
parent 7f17a50b4a
commit 473d6b1d05
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ python:
- 3.5
install:
# Validate requirements_all.txt on Python 3.4
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then python3 setup.py -q develop 2>/dev/null; tput setaf 1; script/gen_requirements_all.py validate; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then python3 setup.py -q develop 2>/dev/null; tput setaf 1; script/gen_requirements_all.py validate; tput sgr0; fi
- script/bootstrap_server
script:
- script/cibuild

View File

@ -6,13 +6,13 @@ echo "Checking style with flake8..."
tput setaf 1
flake8 --exclude www_static homeassistant
FLAKE8_STATUS=$?
tput setaf 7; tput sgr0
tput sgr0
echo "Checking style with pylint..."
tput setaf 1
pylint homeassistant
PYLINT_STATUS=$?
tput setaf 7; tput sgr0
tput sgr0
if [ $FLAKE8_STATUS -eq 0 ]
then