Browse Source

Merge branch 'drone1' of imo/lua-netio into master

master
Sebastian 2 years ago
committed by Gitea
parent
commit
bc032c3a3b
  1. 86
      .drone.yml

86
.drone.yml

@ -1,22 +1,70 @@
pipeline:
lint:
image: imo/luarocks${LUA}:latest
kind: pipeline
type: docker
name: lint
steps:
- name: lint
image: imolein/luarocks:5.3
commands:
- luarocks install luacheck
- luacheck src/ spec/
---
kind: pipeline
type: docker
name: lua5.1
trigger:
branch:
- master
status:
- success
steps:
- name: test
image: imolein/luarocks:5.1
commands:
- luarocks install luacheck
- luacheck src/ spec/
- luarocks install lua-cjson 2.1.0-1
- luarocks install lua-requests
- luarocks install busted
- busted -o TAP spec/
---
kind: pipeline
type: docker
name: lua5.2
trigger:
branch:
- master
status:
- success
steps:
- name: test
image: imolein/luarocks:5.2
commands:
- luarocks install lua-cjson 2.1.0-1
- luarocks install lua-requests
- luarocks install busted
- busted -o TAP spec/
---
kind: pipeline
type: docker
name: lua5.3
trigger:
branch:
- master
status:
- success
test:
image: imo/luarocks${LUA}:latest
steps:
- name: test
image: imolein/luarocks:5.3
commands:
- luarocks install lua-cjson 2.1.0-1
- luarocks install lua-requests
- luarocks install busted
- busted -o TAP spec/
when:
status: success
matrix:
LUA:
- 5.1
- 5.2
- 5.3
- luarocks install lua-cjson 2.1.0-1
- luarocks install lua-requests
- luarocks install busted
- busted -o TAP spec/
Loading…
Cancel
Save