.travis.yml 779 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # http://kiki.to/blog/2016/02/04/talk-continuous-integration-with-lua/
  2. language: python
  3. sudo: false
  4. branches:
  5. only:
  6. - master
  7. - refactor
  8. env:
  9. - LUA="lua=5.1"
  10. - LUA="luajit=2.0"
  11. - LUA="luajit=2.1"
  12. before_install:
  13. - pip install hererocks
  14. - hererocks lua_install -r^ --$LUA
  15. - export PATH=$PATH:$PWD/lua_install/bin
  16. install:
  17. #- luarocks install luacheck
  18. - luarocks install busted
  19. - luarocks install luacov
  20. - luarocks install luacov-coveralls
  21. script:
  22. #- luacheck --std max+busted *.lua spec
  23. - busted --verbose --coverage spec
  24. after_success:
  25. - luacov-coveralls -e $TRAVIS_BUILD_DIR/lua_install
  26. notifications:
  27. irc: "irc.oftc.net#excessive"
  28. recipients:
  29. - shakesoda+travis@gmail.com
  30. email:
  31. on_success: change
  32. on_failure: always