Skip to content

Commit

Permalink
Ensure Composer v1 is used
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
roborourke committed Oct 27, 2020
1 parent db81ded commit efd8af0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions travis/altis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dist: xenial
language: php
php:
- '7.2'

# Set NodeJS version to match the build server.
node_js:
- 12
Expand All @@ -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:
Expand Down

0 comments on commit efd8af0

Please sign in to comment.