This repository has been archived by the owner on Nov 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
37 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,29 +2,40 @@ | |
# 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 | ||
- 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: | ||
- git clone git://github.com/LuaDist/_util.git ~/_util | ||
- ~/_util/travis install-luadist | ||
- ~/_util/travis install | ||
|
||
# Use LuaDist to deploy the module | ||
# Bootstap | ||
before_script: | ||
- ~/_util/travis bootstrap | ||
|
||
# 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: | ||
|
@@ -37,5 +48,4 @@ notifications: | |
- [email protected] | ||
email: | ||
on_success: change | ||
on_failure: always | ||
|
||
on_failure: always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters