system_genetics/.drone.yml

24 lines
569 B
YAML
Raw Normal View History

2019-12-12 16:40:57 +01:00
---
kind: pipeline
type: docker
name: default
steps:
2019-12-12 16:46:39 +01:00
- name: lintr
image: jupyter/datascience-notebook
commands:
2019-12-12 17:00:44 +01:00
- export TAR="/bin/tar"
2019-12-12 16:46:39 +01:00
- Rscript -e 'devtools::install_github("jimhester/lintr")'
2019-12-12 17:46:56 +01:00
# Lint the document, printing output.
2019-12-12 17:50:27 +01:00
- |
2019-12-12 17:54:18 +01:00
Rscript -e
'lintr::lint_dir(path=".", pattern=rex::rex(".", one_of("Rr"),
maybe("md"), end))'
2019-12-12 17:46:56 +01:00
# Return non-zero exit code (no output is printed).
2019-12-12 17:50:27 +01:00
- |
2019-12-12 17:54:18 +01:00
Rscript -e
'quit(save="no",
status=length(
lintr::lint_dir(path=".", pattern=rex::rex(".", one_of("Rr"), maybe("md"), end)))
2019-12-12 17:50:27 +01:00
)'