2016-02-15 13:06:25 +00:00
|
|
|
language: python
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
env:
|
|
|
|
- LUA="luajit=2.0"
|
|
|
|
|
|
|
|
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
|
2016-02-15 13:34:52 +00:00
|
|
|
- luarocks install middleclass
|
2020-12-26 13:32:19 +00:00
|
|
|
- wget https://raw.githubusercontent.com/bartbes/slither/b9cf6daa1e8995093aa80a40ee9ff98402eeb602/slither.lua
|
2016-02-16 00:32:08 +00:00
|
|
|
- wget https://raw.githubusercontent.com/vrld/hump/038bc9025f1cb850355f4b073357b087b8122da9/class.lua
|
2016-02-15 13:06:25 +00:00
|
|
|
|
|
|
|
script:
|
2018-02-20 14:15:46 +00:00
|
|
|
- luacheck --std max+busted bitser.lua spec --globals love --no-max-line-length
|
2016-02-15 13:06:25 +00:00
|
|
|
- busted --verbose --coverage
|
|
|
|
|
|
|
|
after_success:
|
2016-02-16 00:51:35 +00:00
|
|
|
- luacov-coveralls --include bitser -e $TRAVIS_BUILD_DIR/lua_install
|