.travis.yml 723 B

12345678910111213141516171819202122232425262728293031323334353637
  1. language: python
  2. sudo: false
  3. env:
  4. - LUA="lua=5.1"
  5. - LUA="lua=5.2"
  6. - LUA="lua=5.3"
  7. - LUA="luajit=2.0"
  8. - LUA="luajit=2.1"
  9. before_install:
  10. - pip install hererocks
  11. - hererocks lua_install -r^ --$LUA
  12. - export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH
  13. install:
  14. - luarocks install luacheck
  15. - luarocks install busted
  16. - luarocks install luacov
  17. - luarocks install luacov-coveralls
  18. script:
  19. - luacheck --no-unused-args --std max+busted *.lua spec
  20. - busted --verbose --coverage
  21. after_success:
  22. - luacov-coveralls --exclude $TRAVIS_BUILD_DIR/lua_install
  23. branches:
  24. except:
  25. - gh-pages
  26. notifications:
  27. email:
  28. on_success: change
  29. on_failure: always