mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
Use sha1 hashes for the check cache instead of mtimes. More reliable and should work with the travis cache as well, if you decide to run check on travis
19 lines
614 B
YAML
19 lines
614 B
YAML
sudo: false
|
|
language: node_js
|
|
nodejs:
|
|
- 6
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
- .build-cache
|
|
|
|
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
|
|
- npm install rapydscript-ng && ln -s `pwd`/rapydscript-ng/bin/rapydscript $SW/bin/rapydscript
|
|
- rapydscript --version
|
|
- python setup.py bootstrap --ephemeral
|
|
script: python setup.py test
|