.travis.yml 635 B

1234567891011121314151617181920212223242526272829303132333435
  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 busted
  15. - luarocks install luacov
  16. - luarocks install luacov-coveralls
  17. script:
  18. - busted --verbose --coverage
  19. after_success:
  20. - luacov-coveralls --exclude $TRAVIS_BUILD_DIR/lua_install
  21. branches:
  22. except:
  23. - gh-pages
  24. notifications:
  25. email:
  26. on_success: change
  27. on_failure: always