Add drone step
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
f4a15f7f42
commit
4f13430a95
2 changed files with 13 additions and 0 deletions
|
@ -57,6 +57,14 @@ pipeline:
|
|||
when:
|
||||
matrix:
|
||||
TESTS: checkers
|
||||
handlebars:
|
||||
image: node
|
||||
commands:
|
||||
- npm install handlebars -g
|
||||
- ./build/compile-handlebars-templates.sh
|
||||
when:
|
||||
matrix:
|
||||
TESTS: handlebars
|
||||
syntax-php7.0:
|
||||
image: nextcloudci/php7.0:php7.0-19
|
||||
commands:
|
||||
|
@ -774,6 +782,7 @@ matrix:
|
|||
- TESTS: vue-build-oauth2
|
||||
- TESTS: vue-build-accessibility
|
||||
- TESTS: vue-build-backupcodes
|
||||
- TESTS: handlebars
|
||||
- TESTS: nodb-codecov
|
||||
ENABLE_REDIS: true
|
||||
- TESTS: db-codecov
|
||||
|
|
4
build/compile-handlebars-templates.sh
Normal file → Executable file
4
build/compile-handlebars-templates.sh
Normal file → Executable file
|
@ -15,7 +15,11 @@ handlebars -n OCA.Files.FileSummary.Templates apps/files/js/filesummary.handleba
|
|||
|
||||
if [[ $(git diff --name-only) ]]; then
|
||||
echo "Please submit your compiled handlebars templates"
|
||||
echo
|
||||
git diff
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
echo "All up to date! Carry on :D"
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue