mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
13 lines
616 B
YAML
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
|