summaryrefslogtreecommitdiffstats
path: root/.drone.jsonnet
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-09-01 09:23:02 +0200
committerJoas Schilling <coding@schilljs.com>2022-09-01 10:53:39 +0200
commitee785cec035e395e198c399a38a6e0868a6b7041 (patch)
tree3ed8443767d90549d0b8c31d30cd01d1c7fddc54 /.drone.jsonnet
parenta22a546401cfe5546afea968ce74028a2f5eb878 (diff)
Use composer v2 to install the dependencies correctly
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.drone.jsonnet')
-rw-r--r--.drone.jsonnet4
1 files changed, 3 insertions, 1 deletions
diff --git a/.drone.jsonnet b/.drone.jsonnet
index c4f0b3c98..888c316e3 100644
--- a/.drone.jsonnet
+++ b/.drone.jsonnet
@@ -33,7 +33,9 @@ local Pipeline(test_set, database, services) = {
] else []
) + [
"cd apps/$APP_NAME",
- "composer install --no-dev",
+ "composer --version",
+ "composer self-update --2",
+ "composer install",
"cd tests/integration/",
"bash run.sh features/"+test_set
]