From c233ba06588658306090ce7dea3373282e1754a3 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Wed, 2 Dec 2020 14:05:15 +0100 Subject: [PATCH] trying to implement tests --- .gitlab-ci.yml | 13 +++++++------ appinfo/info.xml | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 95afe56..1c68d16 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,18 +18,19 @@ compiling: testing: stage: testing - image: registry.gitlab.com/gitlab-org/release-cli:latest + image: nextcloud:fpm script: - ls + - cp -r /builds/project-0 /usr/src/nextcloud/apps/radio - php /usr/src/nextcloud/occ maintenance:install --database "sqlite" --admin-user "admin" --admin-pass "password" - php /usr/src/nextcloud/occ app:enable radio - php /usr/src/nextcloud/occ maintenance:mode --off - php /usr/src/nextcloud/occ app:check-code radio - - jshint --verbose radio/src/dashboard.js && echo "jshint OK" || echo "jshint has complaints" - - jshint --verbose radio/src/main.js && echo "jshint OK" || echo "jshint has complaints" - - jshint --verbose radio/src/router.js && echo "jshint OK" || echo "jshint has complaints" - - jshint --verbose radio/src/store.js && echo "jshint OK" || echo "jshint has complaints" - - phpunit --configuration /var/www/html/nextcloud/apps/cospend/phpunit.xml --coverage-text --color=never --coverage-html coverage +# - jshint --verbose radio/src/dashboard.js && echo "jshint OK" || echo "jshint has complaints" +# - jshint --verbose radio/src/main.js && echo "jshint OK" || echo "jshint has complaints" +# - jshint --verbose radio/src/router.js && echo "jshint OK" || echo "jshint has complaints" +# - jshint --verbose radio/src/store.js && echo "jshint OK" || echo "jshint has complaints" +# - phpunit --configuration /var/www/html/nextcloud/apps/cospend/phpunit.xml --coverage-text --color=never --coverage-html coverage packaging: stage: packaging diff --git a/appinfo/info.xml b/appinfo/info.xml index 064b0b9..266c72d 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -18,7 +18,7 @@ app uses radio-browser.info database as a backend. 1.0.1 - AGPL + agpl Jonas Heinrich Radio multimedia