mirror of
https://github.com/TangentFoxy/Pop.Box.git
synced 2024-12-15 12:44:20 +00:00
8ea4b63878
git-subtree-dir: src/lib/middleclass git-subtree-split: 27a64f107e61532006030a6168e4fe6a71eee9a2
37 lines
723 B
YAML
37 lines
723 B
YAML
language: python
|
|
sudo: false
|
|
|
|
env:
|
|
- LUA="lua=5.1"
|
|
- LUA="lua=5.2"
|
|
- LUA="lua=5.3"
|
|
- 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 # Add directory with all installed binaries to PATH
|
|
|
|
install:
|
|
- luarocks install luacheck
|
|
- luarocks install busted
|
|
- luarocks install luacov
|
|
- luarocks install luacov-coveralls
|
|
|
|
script:
|
|
- luacheck --no-unused-args --std max+busted *.lua spec
|
|
- busted --verbose --coverage
|
|
|
|
after_success:
|
|
- luacov-coveralls --exclude $TRAVIS_BUILD_DIR/lua_install
|
|
|
|
branches:
|
|
except:
|
|
- gh-pages
|
|
|
|
notifications:
|
|
email:
|
|
on_success: change
|
|
on_failure: always
|