You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/.travis.yml

34 lines
906 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:
# nasm for building libpng
- sudo apt-get install libsdl1.2-dev luarocks nasm
# install an older version of lua_cliargs for busted v1.10.0
- sudo luarocks install lua_cliargs 2.1-2
# recent versions of busted may cause some weird segmentation faults
- 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
after_success:
- make coverage
- cd koreader-*/koreader && luacov-coveralls -v