diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a98c5d8..5a3ba95 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,18 +24,11 @@ testing: stage: testing image: nextcloud:fpm script: - - pwd - - ls - - cp -r /builds/project-0 /usr/src/nextcloud/apps/radio + - cp -r $(pwd) /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 packaging: stage: packaging