diff options
author | Joas Schilling <coding@schilljs.com> | 2022-09-01 10:23:02 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-09-01 11:53:39 +0300 |
commit | ee785cec035e395e198c399a38a6e0868a6b7041 (patch) | |
tree | 3ed8443767d90549d0b8c31d30cd01d1c7fddc54 /.drone.yml | |
parent | a22a546401cfe5546afea968ce74028a2f5eb878 (diff) |
Use composer v2 to install the dependencies correctly
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 108 |
1 files changed, 81 insertions, 27 deletions
diff --git a/.drone.yml b/.drone.yml index c97040025..94ff45fcb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,7 +15,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/callapi environment: @@ -49,7 +51,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/chat environment: @@ -83,7 +87,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/command environment: @@ -118,7 +124,9 @@ steps: - ./occ app:enable notifications - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/conversation environment: @@ -153,7 +161,9 @@ steps: - ./occ app:enable notifications - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/conversation-2 environment: @@ -187,7 +197,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/federation environment: @@ -221,7 +233,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/reaction environment: @@ -255,7 +269,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/sharing environment: @@ -289,7 +305,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/sharing-2 environment: @@ -337,7 +355,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/callapi environment: @@ -386,7 +406,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/chat environment: @@ -435,7 +457,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/command environment: @@ -485,7 +509,9 @@ steps: - ./occ app:enable notifications - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/conversation environment: @@ -535,7 +561,9 @@ steps: - ./occ app:enable notifications - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/conversation-2 environment: @@ -584,7 +612,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/federation environment: @@ -633,7 +663,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/reaction environment: @@ -682,7 +714,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/sharing environment: @@ -731,7 +765,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/sharing-2 environment: @@ -775,7 +811,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/callapi environment: @@ -818,7 +856,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/chat environment: @@ -861,7 +901,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/command environment: @@ -905,7 +947,9 @@ steps: - ./occ app:enable notifications - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/conversation environment: @@ -949,7 +993,9 @@ steps: - ./occ app:enable notifications - git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/conversation-2 environment: @@ -992,7 +1038,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/federation environment: @@ -1035,7 +1083,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/reaction environment: @@ -1078,7 +1128,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/sharing environment: @@ -1121,7 +1173,9 @@ steps: apps/notifications - ./occ app:enable notifications - cd apps/$APP_NAME - - composer install --no-dev + - composer --version + - composer self-update --2 + - composer install - cd tests/integration/ - bash run.sh features/sharing-2 environment: |