Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
DanVanAtta committed Sep 2, 2019
1 parent 56c077d commit 0aefc39
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
26 changes: 12 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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}

2 changes: 1 addition & 1 deletion .travis/run_optipng
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0aefc39

Please sign in to comment.