[BUGFIX] Set master branch alias in travis 52/53552/4
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 20 Jul 2017 06:30:21 +0000 (08:30 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 20 Jul 2017 11:28:50 +0000 (13:28 +0200)
Due to the circular dependency with typo3/testing-framework,
composer needs to know the version of the root package.
For that it tries to identify which branch the current checkout is on.

This fails in some situations, so we force the root package version
to be dev-master now.

Change-Id: Ib923f412a74436abd59b480eefb330214498b216
Resolves: #81925
Releases: master
Reviewed-on: https://review.typo3.org/53552
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
.travis.yml

index f4958a8..4738a81 100644 (file)
@@ -49,7 +49,7 @@ before_script:
   - phpenv config-rm xdebug.ini
   - echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
   - echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
-  - composer install
+  - COMPOSER_ROOT_VERSION=dev-master composer install
   - export typo3DatabaseName="typo3"
   - export typo3DatabaseHost="localhost"
   - export typo3DatabaseUsername="root"