Add Gitlab CI support

master
rubenwardy 2019-11-30 17:44:58 +00:00
parent ff673ea5ac
commit 1f43a5e987
2 changed files with 10 additions and 13 deletions

10
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,10 @@
image: abaez/luarocks
test:
stage: test
before_script:
- luarocks install --local luacheck
- luarocks install --local busted
script:
- $HOME/.luarocks/bin/luacheck .
- $HOME/.luarocks/bin/busted .

View File

@ -1,13 +0,0 @@
language: generic
sudo: false
addons:
apt:
packages:
- luarocks
before_install:
- luarocks install --local luacheck && luarocks install --local busted
script:
- $HOME/.luarocks/bin/luacheck .
- $HOME/.luarocks/bin/busted .
notifications:
email: false