middleclass/.travis.yml

35 lines
635 B
YAML
Raw Permalink 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:
- 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:
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