PkmnLib_rs/.drone.yml

37 lines
889 B
YAML
Raw Normal View History

2022-06-11 16:56:17 +00:00
---
kind: pipeline
name: default
type: docker
steps:
- name: test-debug-linux
image: deukhoofd/linux64builder
commands:
2022-08-20 11:26:06 +00:00
- cargo test --color=always -- --test-threads=1
2022-06-11 16:56:17 +00:00
- name: test-release-linux
image: deukhoofd/linux64builder
commands:
2022-08-20 11:26:06 +00:00
- cargo test --release --color=always -- --test-threads=1
2022-06-11 16:56:17 +00:00
depends_on:
- test-debug-linux
- name: test-coverage
image: deukhoofd/linux64builder
commands:
2022-06-17 18:38:00 +00:00
- cargo llvm-cov --color=always
2022-06-11 16:56:17 +00:00
depends_on:
- test-debug-linux
- name: check-style
image: deukhoofd/linux64builder
failure: ignore
commands:
- cargo fmt --all -- --check
depends_on:
- test-debug-linux
- name: check-clippy
image: deukhoofd/linux64builder
failure: ignore
commands:
- cargo clippy --all-targets --all-features -- -D warnings
depends_on:
- test-debug-linux