Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added travis hook

  • Loading branch information...
commit ceafdf84b9a4d7aa6b48b662c02228f3b724372d 1 parent 41286b0
@drahosp drahosp authored
Showing with 52 additions and 0 deletions.
  1. +52 −0 .travis.yml
View
52 .travis.yml
@@ -0,0 +1,52 @@
+#
+# LuaDist Travis-CI Hook
+#
+
+# We assume C build environments
+language: C
+
+# Try using multiple Lua Implementations
+env:
+ - TOOL="" # Use native compiler (GCC usually)
+ - COMPILER="clang" # Use clang
+ - TOOL="i686-w64-mingw32" # 32bit MinGW
+ - TOOL="x86_64-w64-mingw32" # 64bit MinGW
+ - TOOL="arm-linux-gnueabihf" # ARM hard-float (hf), linux
+
+# Crosscompile builds may fail
+matrix:
+ allow_failures:
+ - env: TOOL="i686-w64-mingw32"
+ - env: TOOL="x86_64-w64-mingw32"
+ - env: TOOL="arm-linux-gnueabihf"
+
+# Install dependencies
+install:
+ - git clone git://github.com/LuaDist/_util.git ~/_util
+ - ~/_util/travis install
+
+# Bootstap
+before_script:
+ - ~/_util/travis bootstrap
+
+# Build the module
+script:
+ - ~/_util/travis build
+
+# Execute additional tests or commands
+#after_script:
+# - ~/_util/travis test
+
+# Only watch the master branch
+branches:
+ only:
+ - master
+ - srlua-5.1
+
+# Notify the LuaDist Dev group if needed
+notifications:
+ recipients:
+ - luadist-dev@googlegroups.com
+ email:
+ on_success: change
+ on_failure: always
Please sign in to comment.
Something went wrong with that request. Please try again.