Adds libpng install for testing

parent 9bb9f5b0
......@@ -62,10 +62,13 @@ generate_previews:
- curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add
- echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
- apt-get -y update
- apt-get -y install google-chrome-stable imagemagick
- apt-get -y install google-chrome-stable imagemagick libpng-dev zlib1g-dev
- export CHROME_BIN=`whereis google-chrome | cut -d " " -f 2`
- npm install
- cd dist/browser/assets/jobs
- cd dist
- node server &
- sleep 15s
- cd browser/assets/jobs
- node --experimental-modules GenerateImages.mjs --command=all --host=http://localhost:4000
deploy:
......
......@@ -12,8 +12,6 @@ import imagemin from 'imagemin';
import imageminPngquant from 'imagemin-pngquant';
import {default as chromeLauncher} from 'chrome-launcher';
console.log(chromeLauncher);
const gmIM = gm.subClass({imageMagick: true});
const argv = minimist(process.argv.slice(2));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment