mirror of
https://github.com/gvx/bitser.git
synced 2024-11-24 06:54:20 +00:00
26 lines
524 B
YAML
26 lines
524 B
YAML
language: python
|
|
sudo: false
|
|
|
|
env:
|
|
- LUA="luajit=2.0"
|
|
- LUA="luajit=2.1"
|
|
|
|
before_install:
|
|
- pip install hererocks
|
|
- hererocks lua_install -r^ --$LUA
|
|
- export PATH=$PATH:$PWD/lua_install/bin
|
|
|
|
install:
|
|
- luarocks install luacheck
|
|
- luarocks install busted
|
|
- luarocks install luacov
|
|
- luarocks install luacov-coveralls
|
|
- luarocks install middleclass
|
|
|
|
script:
|
|
- luacheck --std max+busted bitser.lua spec
|
|
- busted --verbose --coverage
|
|
|
|
after_success:
|
|
- luacov-coveralls -e $TRAVIS_BUILD_DIR/lua_install
|