Browse Source
Enable app before running tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/199/head
Joas Schilling
9 years ago
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with
9 additions and
3 deletions
-
.drone.yml
|
|
@ -90,7 +90,9 @@ pipeline: |
|
|
|
# Pre-setup steps |
|
|
|
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh |
|
|
|
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB |
|
|
|
- cd ../server/apps/$APP_NAME |
|
|
|
- cd ../server/ |
|
|
|
- ./occ app:enable $APP_NAME |
|
|
|
- cd apps/$APP_NAME |
|
|
|
|
|
|
|
# Run phpunit tests |
|
|
|
- cd tests/php/ |
|
|
@ -113,7 +115,9 @@ pipeline: |
|
|
|
# Pre-setup steps |
|
|
|
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh |
|
|
|
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB |
|
|
|
- cd ../server/apps/$APP_NAME |
|
|
|
- cd ../server/ |
|
|
|
- ./occ app:enable $APP_NAME |
|
|
|
- cd apps/$APP_NAME |
|
|
|
|
|
|
|
# Run phpunit tests |
|
|
|
- cd tests/php/ |
|
|
@ -134,7 +138,9 @@ pipeline: |
|
|
|
# Pre-setup steps |
|
|
|
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh |
|
|
|
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB |
|
|
|
- cd ../server/apps/$APP_NAME |
|
|
|
- cd ../server/ |
|
|
|
- ./occ app:enable $APP_NAME |
|
|
|
- cd apps/$APP_NAME |
|
|
|
|
|
|
|
# Run phpunit tests |
|
|
|
- cd tests/php/ |
|
|
|