diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index f194e6f..d683b66 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -11,3 +11,13 @@ pipelines: - apt-get -y install luarocks - luarocks install luacheck - luacheck . + branches: + master: + - step: + name: Lint code + script: + - apt-get update + - apt-get -y install lua5.1 + - apt-get -y install luarocks + - luarocks install luacheck + - luacheck . \ No newline at end of file