trying to implement tests
This commit is contained in:
parent
0c639ad25b
commit
b31e4bb484
@ -24,18 +24,11 @@ testing:
|
|||||||
stage: testing
|
stage: testing
|
||||||
image: nextcloud:fpm
|
image: nextcloud:fpm
|
||||||
script:
|
script:
|
||||||
- pwd
|
- cp -r $(pwd) /usr/src/nextcloud/apps/radio
|
||||||
- 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 maintenance:install --database "sqlite" --admin-user "admin" --admin-pass "password"
|
||||||
- php /usr/src/nextcloud/occ app:enable radio
|
- php /usr/src/nextcloud/occ app:enable radio
|
||||||
- php /usr/src/nextcloud/occ maintenance:mode --off
|
- php /usr/src/nextcloud/occ maintenance:mode --off
|
||||||
- php /usr/src/nextcloud/occ app:check-code radio
|
- 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:
|
packaging:
|
||||||
stage: packaging
|
stage: packaging
|
||||||
|
Loading…
Reference in New Issue
Block a user