diff --git a/.travis.yml b/.travis.yml index 83afb80..a972b0c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,15 @@ dist: xenial if: tag is blank -jobs: - include: - install: skip - script: - - ./.travis/run_optipng || travis_terminate 1 - - ./.travis/zip_assets - deploy: - provider: releases - api_key: "$BOT_AUTH_TOKEN" - file_glob: true - file: artifacts/* - skip_cleanup: true - name: $TRAVIS_BUILD_NUMBER - on: {tags: false, branch: master} +install: skip +script: + - ./.travis/run_optipng || travis_terminate 1 + - ./.travis/zip_assets +deploy: + provider: releases + api_key: "$BOT_AUTH_TOKEN" + file_glob: true + file: artifacts/* + skip_cleanup: true + name: $TRAVIS_BUILD_NUMBER + on: {tags: false, branch: master} diff --git a/.travis/run_optipng b/.travis/run_optipng index 5102afd..6e1cbb9 100755 --- a/.travis/run_optipng +++ b/.travis/run_optipng @@ -9,7 +9,7 @@ git config --global user.name "tripleabuilderbot" ## find all PNG files, run lossless compression ## Filter output for errors, the line stating which file is being proccessed and percentage decrease -find . -name "*png" | head -200 | xargs optipng -preserve -o7 2>&1 | grep -iE "png|% decrease|error|warn" +find . -name "*png" | head -200 | xargs optipng -preserve -o7 2>&1 | grep -iE "^** Processing|% decrease|error|warn" set -e