trying to implement tests
This commit is contained in:
parent
9bafd9db70
commit
c233ba0658
@ -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
|
||||
|
@ -18,7 +18,7 @@ app uses radio-browser.info database as a backend.
|
||||
|
||||
</description>
|
||||
<version>1.0.1</version>
|
||||
<licence>AGPL</licence>
|
||||
<licence>agpl</licence>
|
||||
<author mail="onny@project-insanity.org" >Jonas Heinrich</author>
|
||||
<namespace>Radio</namespace>
|
||||
<category>multimedia</category>
|
||||
|
Loading…
Reference in New Issue
Block a user