File tree Expand file tree Collapse file tree 1 file changed +46
-6
lines changed
Expand file tree Collapse file tree 1 file changed +46
-6
lines changed Original file line number Diff line number Diff line change 1- language : erlang # Not really ...
1+ #
2+ # LuaDist Travis-CI Hook
3+ #
24
5+ # Since CMake is not directly supported we use erlang VMs
6+ language : erlang
7+
8+ # Try using multiple Lua Implementations
9+ env :
10+ - LUA="" # Use automatic dependencies
11+ - LUA="luajit" # Try with LuaJIT
12+ # - CMAKE="-DCMAKE_VARIABLE=value"
13+ # - LUA="lua-5.1.5"
14+
15+ # Allow luajit to fail
16+ matrix :
17+ allow_failures :
18+ - env : LUA="luajit"
19+
20+ # We need CMake and LuaDist
321install :
4- - sudo apt-get install cmake
22+ - export MODULE='basename $PWD'
23+ - sudo apt-get install cmake
24+ - git clone git://github.com/LuaDist/bootstrap.git _luadist
25+ - cd _luadist
26+ - git submodule update --init
27+ - ./bootstrap
28+ - export LUADIST=$PWD/_install/bin/luadist
29+ - cd $HOME
530
31+ # Use LuaDist to deploy the module
632script :
7- - mkdir _build && cd _build
8- - cmake .. -DCMAKE_INSTALL_PREFIX=../_install
9- - cmake --build . --target install
10- - ctest .
33+ - $LUADIST _test install $LUA $MODULE-scm $CMAKE -verbose=true -debug=true -test=true
34+
35+ # Execute additional tests or commands
36+ # after_script:
37+ # - [run additional test commans]
38+
39+ # Only watch the master branch
40+ branches :
41+ only :
42+ - master
43+
44+ # Notify the LuaDist Dev group if needed
45+ notifications :
46+ recipients :
47+ - luadist-dev@googlegroups.com
48+ email :
49+ on_success : change
50+ on_failure : always
You can’t perform that action at this time.
0 commit comments