Merge pull request #442 from felixbuenemann/test-system-webp-on-travis

Test system webp on Travis CI and fix alpha_q default value
This commit is contained in:
John Cupitt 2016-05-09 13:07:53 +01:00
commit b206ff18cb
3 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
language: cpp
before_install:
- sudo add-apt-repository ppa:lyrasis/precise-backports -y
- sudo apt-get update -qq
- sudo apt-get install automake gtk-doc-tools
- sudo apt-get install gobject-introspection

View File

@ -160,6 +160,7 @@ static void
vips_foreign_save_webp_init( VipsForeignSaveWebp *webp )
{
webp->Q = 75;
webp->alpha_q = 100;
}
typedef struct _VipsForeignSaveWebpFile {

View File

@ -192,7 +192,6 @@ if test_supported jpegload; then
fi
if test_supported webpload; then
test_format $image webp 90
test_format $image webp 0 [lossless]
fi
test_format $image ppm 0
test_format $image pfm 0