MoreMesecons/moremesecons_luablock/md5_lua/.travis.yml

35 lines
635 B
YAML
Raw Normal View History

2016-07-02 18:03:28 +02:00
language: python
sudo: false
2015-02-09 11:27:21 +01:00
env:
2016-07-02 18:03:28 +02:00
- LUA="lua=5.1"
- LUA="lua=5.2"
- LUA="lua=5.3"
- LUA="luajit=2.0"
- LUA="luajit=2.1"
2015-02-09 11:27:21 +01:00
before_install:
2016-07-02 18:03:28 +02:00
- pip install hererocks
- hererocks lua_install -r^ --$LUA
- export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH
2015-02-09 11:27:21 +01:00
install:
2016-07-02 18:03:28 +02:00
- luarocks install busted
- luarocks install luacov
- luarocks install luacov-coveralls
2015-02-09 11:27:21 +01:00
script:
2016-07-02 18:03:28 +02:00
- busted --verbose --coverage
after_success:
- luacov-coveralls --exclude $TRAVIS_BUILD_DIR/lua_install
branches:
except:
- gh-pages
2015-02-09 11:27:21 +01:00
notifications:
email:
on_success: change
on_failure: always