--- a/bitbucket-pipelines.yml Sat Sep 10 10:41:17 2016 +0800
+++ b/bitbucket-pipelines.yml Sat Sep 10 11:05:15 2016 +0800
- ~/.luarocks/bin/busted --verbose --coverage
- ~/.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
+ --server=http://luarocks.org/dev hglib scm-0
+ - eval "$(~/.luarocks/bin/luarocks path)"
+ - lua5.1 "$OLDPWD/examples/version.lua"