trying to implement tests
This commit is contained in:
parent
0c639ad25b
commit
b31e4bb484
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user