|
|
@ -13,15 +13,19 @@ before_install:
|
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get update
|
|
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
install:
|
|
|
|
|
|
|
|
# nasm for building libpng
|
|
|
|
- sudo apt-get install libsdl1.2-dev luarocks nasm
|
|
|
|
- sudo apt-get install libsdl1.2-dev luarocks nasm
|
|
|
|
- sudo luarocks install busted
|
|
|
|
# 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
|
|
|
|
- sudo luarocks install luacov-coveralls --server=http://rocks.moonscript.org/dev
|
|
|
|
- sudo luarocks install luacov-coveralls --server=http://rocks.moonscript.org/dev
|
|
|
|
|
|
|
|
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- make fetchthirdparty all
|
|
|
|
- make fetchthirdparty all
|
|
|
|
- sudo cp base/build/*/luajit /usr/bin/
|
|
|
|
- sudo cp base/build/*/luajit /usr/bin/
|
|
|
|
- sudo ln -sf /usr/bin/luajit /usr/bin/lua
|
|
|
|
|
|
|
|
- make testfront
|
|
|
|
- make testfront
|
|
|
|
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
after_success:
|
|
|
|