--- a/bitbucket-pipelines.yml Sun Sep 23 18:59:00 2018 +0800
+++ b/bitbucket-pipelines.yml Sun Sep 23 19:06:26 2018 +0800
- ~/.luarocks/bin/luacov hglib
- - luarocks install --local luarocks
- # hg:// support was broken before 2.2.2
- # (https://github.com/keplerproject/luarocks/commit/20eb947)
- - ~/.luarocks/bin/luarocks install --local --verbose
+ - luarocks install --local --verbose
--server=http://luarocks.org/dev hglib scm-0
- - eval "$(~/.luarocks/bin/luarocks path)"
+ - eval "$(luarocks path)"
- lua5.1 "$OLDPWD/examples/version.lua"
- - ~/.luarocks/bin/luarocks install --local lua-cjson
+ - luarocks install --local lua-cjson
- lua5.1 "$OLDPWD/examples/log.lua"