Permalink
Browse files

Updated travis hook

  • Loading branch information...
1 parent cc39e5b commit 38a012a4a0bf4923de1e1839094541f23295df8c @drahosp drahosp committed Dec 19, 2012
Showing with 25 additions and 15 deletions.
  1. +25 −15 .travis.yml
View
@@ -2,30 +2,41 @@
# LuaDist Travis-CI Hook
#
-# Since CMake is not directly supported we use erlang VMs
-language: erlang
+# We assume C build environments
+language: C
# Try using multiple Lua Implementations
env:
- - LUA="" # Use automatic dependencies
- - LUA="luajit" # Try with LuaJIT
-# - CMAKE="-DCMAKE_VARIABLE=value"
-# - LUA="lua-5.1.5"
+ - TOOL="" # Use native compiler (GCC usually)
+ - COMPILER="clang" # Use clang
+# - COMPILER="fortran" # Use fortran, make sure to modify the matrix section
+ - TOOL="i686-w64-mingw32" # 32bit MinGW
+ - TOOL="x86_64-w64-mingw32" # 64bit MinGW
+ - TOOL="arm-linux-gnueabihf" # ARM hard-float (hf), linux
-# Allow luajit to fail
+# Crosscompile builds may fail
matrix:
allow_failures:
- - env: LUA="luajit"
-
-# We need CMake and LuaDist
+ - env: TOOL="i686-w64-mingw32"
+ - env: TOOL="x86_64-w64-mingw32"
+ - env: TOOL="arm-linux-gnueabihf"
+
+# Install dependencies
install:
- - sudo apt-get install libmotif-dev # external dependencies
- git clone git://github.com/LuaDist/_util.git ~/_util
- - . ~/_util/travis install-luadist
+ - ~/_util/travis install
+
+# Bootstap
+before_script:
+ - ~/_util/travis bootstrap
-# Use LuaDist to deploy the module
+# Build the module
script:
- - . ~/_util/travis script-luadist
+ - ~/_util/travis build
+
+# Execute additional tests or commands
+#after_script:
+# - ~/_util/travis test
# Only watch the master branch
branches:
@@ -39,4 +50,3 @@ notifications:
email:
on_success: change
on_failure: always
-

0 comments on commit 38a012a

Please sign in to comment.