Skip to content

Commit

Permalink
switch to building pngquant from source for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
toy committed Aug 8, 2014
1 parent fb00375 commit 30e0643
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ script:
- '! bundle show rubocop || bundle exec rubocop' # run rubocop only if it is bundled
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq advancecomp gifsicle jhead jpegoptim libjpeg-progs optipng pngcrush pngquant
- sudo apt-get install -qq advancecomp gifsicle jhead jpegoptim libjpeg-progs optipng pngcrush
- npm install -g svgo
- mkdir ~/bin
# pngquant:
- git clone git://github.com/pornel/pngquant.git
- pushd pngquant && git checkout $(git describe --tags --abbrev=0) && make && popd
- mv pngquant/pngquant ~/bin
# pngout:
- wget http://static.jonof.id.au/dl/kenutils/pngout-20130221-linux.tar.gz
- tar -xzf pngout-*-linux.tar.gz
Expand Down

0 comments on commit 30e0643

Please sign in to comment.