forked from GRIAC/system_genetics
Another try of drone
This commit is contained in:
parent
37bde351e1
commit
d28fafef27
16
.drone.yml
16
.drone.yml
@ -7,6 +7,18 @@ steps:
|
|||||||
- name: lintr
|
- name: lintr
|
||||||
image: jupyter/datascience-notebook
|
image: jupyter/datascience-notebook
|
||||||
commands:
|
commands:
|
||||||
|
- export TAR="/bin/tar"
|
||||||
- Rscript -e 'devtools::install_github("jimhester/lintr")'
|
- Rscript -e 'devtools::install_github("jimhester/lintr")'
|
||||||
- Rscript -e 'lintr::lint_package()'
|
# Lint the document, printing output.
|
||||||
|
- |
|
||||||
|
Rscript -e 'lintr::lint_dir(
|
||||||
|
path=".", pattern=rex::rex(".", one_of("Rr"), maybe("md"), end)
|
||||||
|
)'
|
||||||
|
# Return non-zero exit code (no output is printed).
|
||||||
|
- |
|
||||||
|
Rscript -e 'quit(
|
||||||
|
save="no",
|
||||||
|
status=length(
|
||||||
|
lintr::lint_dir(path=".", pattern=rex::rex(".", one_of("Rr"), maybe("md"), end))
|
||||||
|
)
|
||||||
|
)'
|
||||||
|
Loading…
Reference in New Issue
Block a user