mirror of
https://github.com/vxcontrol/lualibs-protobuf.git
synced 2026-07-01 09:16:28 -04:00
update ci for Lua 5.4
This commit is contained in:
+5
-5
@@ -3,24 +3,24 @@ sudo: false
|
||||
|
||||
env:
|
||||
global:
|
||||
- LUAROCKS=2.4.3
|
||||
- ROCKSPEC=rockspecs/lua-protobuf-scm-1.rockspec
|
||||
matrix:
|
||||
- LUA="lua 5.1"
|
||||
- LUA="lua 5.2"
|
||||
- LUA="lua 5.3"
|
||||
- LUA="lua 5.4"
|
||||
- LUA="luajit 2.0"
|
||||
- LUA="luajit 2.1"
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- new
|
||||
- lua54
|
||||
|
||||
before_install:
|
||||
- pip install --user hererocks urllib3[secure] cpp-coveralls
|
||||
- hererocks env --$LUA -rlatest # Use latest LuaRocks, install into 'env' directory.
|
||||
- source env/bin/activate # Add directory with all installed binaries to PATH.
|
||||
- curl -O https://raw.githubusercontent.com/luarocks/hererocks/master/hererocks.py
|
||||
- python hererocks.py env --$LUA -rlatest
|
||||
- source env/bin/activate
|
||||
|
||||
install:
|
||||
# - sudo luarocks make $ROCKSPEC CFLAGS="-O2 -fPIC -ftest-coverage -fprofile-arcs" LIBFLAG="-shared --coverage"
|
||||
|
||||
+1
-1
@@ -204,7 +204,7 @@ end
|
||||
M.private.sortedPairs = sortedPairs
|
||||
|
||||
-- seed the random with a strongly varying seed
|
||||
math.randomseed(os.clock()*1E11)
|
||||
math.randomseed(math.floor(os.clock()*1E11))
|
||||
|
||||
local function randomizeTable( t )
|
||||
-- randomize the item orders of the table t
|
||||
|
||||
Reference in New Issue
Block a user