Add drone step

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2018-09-28 21:03:43 +02:00
parent f4a15f7f42
commit 4f13430a95
No known key found for this signature in database
GPG Key ID: F941078878347C0C
2 changed files with 13 additions and 0 deletions

View File

@ -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
View 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