From 8189382d721fad5874eb88b6d4e7166a550e9305 Mon Sep 17 00:00:00 2001 From: Alexander Marks Date: Tue, 6 Feb 2018 22:35:57 -0800 Subject: [PATCH] Make Travis update-types failure style the same as the elements. --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b61ce80174..1fb368be41 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,8 +12,10 @@ before_script: - npm install -g bower gulp-cli@1 - bower install - gulp lint-eslint -- gulp update-types -- git diff --exit-code +- >- + npm run update-types && git diff --exit-code || (echo -e + '\n\033[31mERROR:\033[0m Typings are stale. Please run "npm run + update-types".' && false) script: - wct -l chrome -l firefox - if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then travis_wait 30 ./util/travis-sauce-test.sh; fi