calibre/.travis.yml
2016-06-24 20:41:12 +05:30

13 lines
616 B
YAML

sudo: false
language: generic
env:
- SW=$HOME/sw PATH=$SW/bin:$PATH CFLAGS=-I$SW/include LDFLAGS=-L$SW/lib LD_LIBRARY_PATH=$SW/qt/lib:$SW/lib PKG_CONFIG_PATH=$SW/lib/pkgconfig QMAKE=$SW/qt/bin/qmake QT_PLUGIN_PATH=$sw/qt/plugins
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 setup.py bootstrap --ephemeral
script: python setup.py test