middleclass/.travis.yml

37 lines
723 B
YAML
Raw Normal View History

language: python
sudo: false
2013-01-02 00:51:09 +00:00
env:
- LUA="lua=5.1"
- LUA="lua=5.2"
- LUA="lua=5.3"
- LUA="luajit=2.0"
- LUA="luajit=2.1"
2013-12-06 20:28:31 +00:00
before_install:
- pip install hererocks
2015-12-26 12:27:36 +00:00
- hererocks lua_install -r^ --$LUA
- export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH
install:
2016-01-02 08:33:34 +00:00
- luarocks install luacheck
- luarocks install busted
2015-12-26 12:04:33 +00:00
- luarocks install luacov
- luarocks install luacov-coveralls
2013-12-06 20:28:31 +00:00
script:
2016-01-02 08:57:00 +00:00
- luacheck --no-unused-args --std max+busted *.lua spec
2015-12-26 12:27:36 +00:00
- busted --verbose --coverage
2015-12-26 12:04:33 +00:00
after_success:
2015-12-26 12:27:36 +00:00
- luacov-coveralls --exclude $TRAVIS_BUILD_DIR/lua_install
branches:
except:
- gh-pages
2013-12-06 20:28:31 +00:00
notifications:
email:
on_success: change
on_failure: always