Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Auto-upgrading and then displaying composer version #4252

Merged
merged 1 commit into from

2 participants

Marco Pivetta Matthew Weier O'Phinney
Marco Pivetta
Collaborator

Because of the frequent problems with the installer, and without any way of being certain that travis boxes are updated, I added a composer self-update command to the build steps.

Matthew Weier O'Phinney weierophinney merged commit 4e91215 into from
Marco Pivetta Ocramius deleted the branch
Deleted user Unknown referenced this pull request from a commit
Matthew Weier O'Phinney weierophinney Merge branch 'hotfix/4252' into develop
Close #4252
53043f9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 17, 2013
  1. Marco Pivetta
This page is out of date. Refresh to see the latest.
Showing with 19 additions and 11 deletions.
  1. +19 −11 build.xml
30 build.xml
View
@@ -16,11 +16,19 @@
</target>
<target name="composer-install" description="Installs dependencies via composer install">
- <exec executable="composer" failonerror="true">
- <arg value="install" />
- <arg value="--dev" />
- <arg value="--prefer-source" />
- </exec>
+ <sequential>
+ <exec executable="composer" failonerror="true">
+ <arg value="self-update" />
+ </exec>
+ <exec executable="composer" failonerror="true">
+ <arg value="--version" />
+ </exec>
+ <exec executable="composer" failonerror="true">
+ <arg value="install" />
+ <arg value="--dev" />
+ <arg value="--prefer-source" />
+ </exec>
+ </sequential>
</target>
<target
@@ -102,12 +110,12 @@
</echo>
<exec
- executable="${basedir}/vendor/bin/phpunit"
- output="${basedir}/build/test-results/@{component}.log"
- error="${basedir}/build/test-results/@{component}.log"
- failonerror="true"
- append="true"
- >
+ executable="${basedir}/vendor/bin/phpunit"
+ output="${basedir}/build/test-results/@{component}.log"
+ error="${basedir}/build/test-results/@{component}.log"
+ failonerror="true"
+ append="true"
+ >
<arg value="-c" />
<arg value="${basedir}/tests/phpunit.xml.dist" />
<arg value="${basedir}/tests/ZendTest/@{component}" />
Something went wrong with that request. Please try again.