calibre/.travis.yml
Kovid Goyal a63378d40e Use npm to install rapydscript-ng
Also cache node_modules for build performance
2016-06-25 09:30:46 +05:30

18 lines
595 B
YAML

sudo: false
language: node_js
nodejs:
- 6
cache:
directories:
- node_modules
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