From 96c14bd7bfa50eccbbddb01b74f2720bc07e4fca Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Fri, 12 Jun 2015 19:41:24 +0100 Subject: [PATCH] Make travis more resilient to composer self-update `composer self-update` has been failing regularly on travis recently. As `composer` is already installed and it's not strictly essential to have the very latest version, this change allows the build to continue, even if composer can't self-update --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0efc2f2fe..6875502cd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,7 @@ matrix: - sudo apt-get install -y tidy before_script: - - composer self-update + - composer self-update || true - phpenv rehash - git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support - "if [ \"$BEHAT_TEST\" = \"\" ]; then php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss; fi"