2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00
koreader/.travis.yml
2014-10-23 15:33:46 +08:00

30 lines
691 B
YAML

# Travis-CI Build for koreader
# see travis-ci.org for details
language: c
compiler:
- gcc
env:
- EMULATE_READER=1 USE_NO_CCACHE=1
before_install:
- sudo apt-get update
install:
- sudo apt-get install libsdl1.2-dev luarocks nasm
- git clone https://github.com/Olivine-Labs/busted/
- cd busted && git checkout v1.10.0 && sudo luarocks make && cd ..
- sudo luarocks install luacov
- sudo luarocks install luacov-coveralls --server=http://rocks.moonscript.org/dev
script:
- make fetchthirdparty all
- sudo cp base/build/*/luajit /usr/bin/
- make testfront
- make coverage
after_success:
- cd koreader-*/koreader && luacov-coveralls -v