2014-05-31 09:38:01 +00:00
|
|
|
# Travis-CI Build for koreader
|
|
|
|
# see travis-ci.org for details
|
|
|
|
|
|
|
|
language: c
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
|
|
|
|
env:
|
|
|
|
- EMULATE_READER=1 USE_NO_CCACHE=1
|
|
|
|
|
2014-07-14 19:09:31 +00:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get update
|
|
|
|
|
2014-05-31 09:38:01 +00:00
|
|
|
install:
|
2014-10-23 07:33:46 +00:00
|
|
|
- sudo apt-get install libsdl1.2-dev luarocks nasm
|
2014-05-31 09:38:01 +00:00
|
|
|
- git clone https://github.com/Olivine-Labs/busted/
|
|
|
|
- cd busted && git checkout v1.10.0 && sudo luarocks make && cd ..
|
2014-10-06 13:31:04 +00:00
|
|
|
- sudo luarocks install luacov
|
2014-10-06 15:36:13 +00:00
|
|
|
- sudo luarocks install luacov-coveralls --server=http://rocks.moonscript.org/dev
|
2014-05-31 09:38:01 +00:00
|
|
|
|
|
|
|
script:
|
2014-10-06 14:28:55 +00:00
|
|
|
- make fetchthirdparty all
|
|
|
|
- sudo cp base/build/*/luajit /usr/bin/
|
2014-05-31 09:38:01 +00:00
|
|
|
- make testfront
|
2014-10-06 13:31:04 +00:00
|
|
|
- make coverage
|
2014-10-06 15:36:13 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- cd koreader-*/koreader && luacov-coveralls -v
|