This commit is contained in:
Kovid Goyal 2016-06-24 20:55:26 +05:30
parent c84e2b1e4c
commit a8e39d01e9

View File

@ -7,6 +7,6 @@ env:
before_install:
- curl https://download.calibre-ebook.com/travis/sw-linux.tar.xz | tar xJ -C $HOME
- $QMAKE -query
- QT_DEBUG_PLUGINS=1 python -c "from PyQt5.Qt import QImageReader; fmts = map(str, QImageReader.supportedImageFormats()); print fmts; import sys; 'jpg' not in fmts and sys.exit(1)"
- python -c "import os, sys; os.environ['QT_DEBUG_PLUGINS']='1'; from PyQt5.Qt import *; print QLibraryInfo.location(QLibraryInfo.PluginsPath); fmts = map(str, QImageReader.supportedImageFormats()); print fmts; sys.exit('jpg' not in fmts)"
- python setup.py bootstrap --ephemeral
script: python setup.py test