Merge branch 'master' of https://github.com/excessive/cpml into refactor
This commit is contained in:
commit
0eb8d30271
36
.travis.yml
36
.travis.yml
@ -1,25 +1,37 @@
|
||||
language: erlang
|
||||
|
||||
env:
|
||||
- LUA=""
|
||||
- LUA="luajit"
|
||||
# http://kiki.to/blog/2016/02/04/talk-continuous-integration-with-lua/
|
||||
language: python
|
||||
sudo: false
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- refactor
|
||||
|
||||
env:
|
||||
- LUA="lua=5.1"
|
||||
- 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
|
||||
|
||||
install:
|
||||
- sudo apt-get install luajit
|
||||
- sudo apt-get install luarocks
|
||||
- sudo luarocks install luafilesystem
|
||||
- sudo luarocks install busted
|
||||
#- luarocks install luacheck
|
||||
- luarocks install busted
|
||||
- luarocks install luacov
|
||||
- luarocks install luacov-coveralls
|
||||
|
||||
script: "busted spec"
|
||||
script:
|
||||
#- luacheck --std max+busted *.lua spec
|
||||
- busted --verbose --coverage spec
|
||||
|
||||
after_success:
|
||||
- luacov-coveralls -e $TRAVIS_BUILD_DIR/lua_install
|
||||
|
||||
notifications:
|
||||
irc: "irc.oftc.net#excessive"
|
||||
# webhooks:
|
||||
# - http://whatever/travis-results
|
||||
recipients:
|
||||
- shakesoda+travis@gmail.com
|
||||
email:
|
||||
|
Loading…
x
Reference in New Issue
Block a user