diff --git a/.travis.yml b/.travis.yml index 4b671981b1..b2842a6cab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -123,13 +123,13 @@ matrix: PREV=$(curl https://api.github.com/repos/$TRAVIS_REPO_SLUG/status/master \ | jq -re "select(.sha != \"$TRAVIS_COMMIT\") | .statuses[] | select(.context == \"travis-ci/$NAME\").description - | capture(\", (?[0-9]+) warnings\").warnings" \ + | capture(\", (?[0-9]+) files\").warnings" \ || echo 0) - STATUSM="Passed, ${CURR} warnings" + STATUSM="Passed, ${CURR} files" if [ "$PREV" -ne 0 ] then - STATUSM="$STATUSM ($(python -c "print '%+d' % ($CURR-$PREV)") warnings)" + STATUSM="$STATUSM ($(python -c "print '%+d' % ($CURR-$PREV)") files)" fi - bash -c "$STATUS" success "$STATUSM"