Download:
child 22:4120e00edf14
parent 20:1820a85e8c42
21:27da91327bbe
Anton Shestakov <av6@dwimlabs.net>, Sat, 10 Sep 2016 11:05:15 +0800
pipelines: test luarocks package

1 файлов изменено, 9 вставок(+), 0 удалений(-) [+]
bitbucket-pipelines.yml file | annotate | diff | comparison | revisions
--- a/bitbucket-pipelines.yml Sat Sep 10 10:41:17 2016 +0800
+++ b/bitbucket-pipelines.yml Sat Sep 10 11:05:15 2016 +0800
@@ -12,3 +12,12 @@
- ~/.luarocks/bin/busted --verbose --coverage
- ~/.luarocks/bin/luacov hglib
- cat luacov.report.out
+
+ - 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
+ - cd /tmp
+ - eval "$(~/.luarocks/bin/luarocks path)"
+ - lua5.1 "$OLDPWD/examples/version.lua"