From efd8af01c28eaab3b7c6d66c99362e1d79e94eb2 Mon Sep 17 00:00:00 2001 From: Robert O'Rourke Date: Tue, 27 Oct 2020 10:39:16 +0000 Subject: [PATCH] Ensure Composer v1 is used Composer v2 was rolled out and Travis CI updated straight away breaking our builds. This will ensure v1 is used until we can safely say v2 is supported. --- travis/altis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/travis/altis.yml b/travis/altis.yml index d1e8d16..f1afbce 100644 --- a/travis/altis.yml +++ b/travis/altis.yml @@ -6,7 +6,7 @@ dist: xenial language: php php: - '7.2' - + # Set NodeJS version to match the build server. node_js: - 12 @@ -31,11 +31,13 @@ notifications: cache: directories: - $HOME/.composer/cache - + # Ensure correct node version is used for build before_install: - nvm install v12 - nvm use v12 + # Ensure composer v1 is still used. + - composer self-update --1 # Install application and start the local server before_script: