Add Alpine Linux packaging test #354

Requires libvips cache to be disabled for tests
Skip tiff/magick tests when format unavailable
This commit is contained in:
Lovell Fuller
2016-02-11 18:30:50 +00:00
parent 6ca2a4a9cd
commit 2a56de69cc
10 changed files with 141 additions and 100 deletions

View File

@@ -29,7 +29,7 @@ describe('Colour space conversion', function() {
.toFile(fixtures.path('output.greyscale-not.jpg'), done);
});
if (sharp.format.webp.output.buffer) {
if (sharp.format.tiff.input.file && sharp.format.webp.output.buffer) {
it('From 1-bit TIFF to sRGB WebP [slow]', function(done) {
sharp(fixtures.inputTiff)
.webp()