summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Drahoš <drahosp@gmail.com>2012-04-03 01:41:58 +0200
committerPeter Drahoš <drahosp@gmail.com>2012-04-03 01:41:58 +0200
commit4ce3e3802e56e59aad1efb857a7693fb4648b7ea (patch)
treea9bd08c5191d26f5a25f755a01f74019358b5e40
parente3741804f47d3abe59392ee4a8ff8f1cf625db7a (diff)
downloadlua-4ce3e3802e56e59aad1efb857a7693fb4648b7ea.tar.gz
Updated travis build
-rw-r--r--.travis.yml26
1 files changed, 7 insertions, 19 deletions
diff --git a/.travis.yml b/.travis.yml
index 9b63836..74b4f33 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,36 +5,24 @@
# Since CMake is not directly supported we use erlang VMs
language: erlang
-# Try using multiple Lua Implementations
-env:
- - LUA="" # Use automatic dependencies
- - LUA="luajit" # Try with LuaJIT
-# - CMAKE="-DCMAKE_VARIABLE=value"
-# - LUA="lua-5.1.5"
-
-# Allow luajit to fail
-matrix:
- allow_failures:
- - env: LUA="luajit"
-
# We need CMake and LuaDist
install:
- export MODULE=`basename $PWD`
- - sudo apt-get install cmake
- - git clone git://github.com/LuaDist/bootstrap.git _luadist
+ - sudo apt-get install cmake >/dev/null 2>&1
+ - git clone git://github.com/LuaDist/bootstrap.git _luadist >/dev/null 2>&1
- cd _luadist
- - git submodule update --init
- - ./bootstrap
+ - git submodule update --init >/dev/null 2>&1
+ - ./bootstrap >/dev/null 2>&1
- export LUADIST=$PWD/_install/bin/luadist
- cd $HOME
# Use LuaDist to deploy the module
script:
- - $LUADIST _test install $LUA $MODULE-scm $CMAKE -verbose=true -debug=true -test=true
+ - $LUADIST _test install $LUA $MODULE-scm -verbose=true -test=true
# Execute additional tests or commands
-#after_script:
-# - [run additional test commans]
+after_script:
+ - ./_test/bin/lua -e "print '_VERSION'"
# Only watch the master branch
branches: