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

@@ -111,7 +111,7 @@ describe('Rotation', function() {
});
it('Attempt to auto-rotate image format without EXIF support', function(done) {
sharp(fixtures.inputGif)
sharp(fixtures.inputPng)
.rotate()
.resize(320)
.jpeg()
@@ -120,7 +120,7 @@ describe('Rotation', function() {
assert.strictEqual(true, data.length > 0);
assert.strictEqual('jpeg', info.format);
assert.strictEqual(320, info.width);
assert.strictEqual(213, info.height);
assert.strictEqual(236, info.height);
done();
});
});