.travis.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #
  2. # LuaDist Travis-CI Hook
  3. #
  4. # We assume C build environments
  5. language: C
  6. # Try using multiple Lua Implementations
  7. env:
  8. - TOOL="gcc" # Use native compiler (GCC usually)
  9. - TOOL="clang" # Use clang
  10. - TOOL="i686-w64-mingw32" # 32bit MinGW
  11. - TOOL="x86_64-w64-mingw32" # 64bit MinGW
  12. - TOOL="arm-linux-gnueabihf" # ARM hard-float (hf), linux
  13. # Crosscompile builds may fail
  14. matrix:
  15. allow_failures:
  16. - env: TOOL="i686-w64-mingw32"
  17. - env: TOOL="x86_64-w64-mingw32"
  18. - env: TOOL="arm-linux-gnueabihf"
  19. # Install dependencies
  20. install:
  21. - git clone git://github.com/LuaDist/Tools.git ~/_tools
  22. - ~/_tools/travis/travis install
  23. # Bootstap
  24. before_script:
  25. - ~/_tools/travis/travis bootstrap
  26. # Build the module
  27. script:
  28. - ~/_tools/travis/travis build
  29. # Execute additional tests or commands
  30. after_script:
  31. - ~/_tools/travis/travis test
  32. # Only watch the master branch
  33. branches:
  34. only:
  35. - master
  36. # Notify the LuaDist Dev group if needed
  37. notifications:
  38. recipients:
  39. - luadist-dev@googlegroups.com
  40. email:
  41. on_success: change
  42. on_failure: always