Browse Source

Another try of drone

p280381-featureCounts-1
Hylke Cornelis Donker 3 years ago
parent
commit
d28fafef27
  1. 24
      .drone.yml

24
.drone.yml

@ -4,9 +4,21 @@ type: docker @@ -4,9 +4,21 @@ type: docker
name: default
steps:
- name: lintr
image: jupyter/datascience-notebook
commands:
- Rscript -e 'devtools::install_github("jimhester/lintr")'
- Rscript -e 'lintr::lint_package()'
- name: lintr
image: jupyter/datascience-notebook
commands:
- export TAR="/bin/tar"
- Rscript -e 'devtools::install_github("jimhester/lintr")'
# 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…
Cancel
Save