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