Skip to content

Commit

Permalink
[Travis] Try to get Solr dependnecy to resolve (#1852)
Browse files Browse the repository at this point in the history
* [Travis] Try to get Solr dependnecy to resolve

* [Travis] Workaround Java issues on travis
  • Loading branch information
andrerom committed Dec 5, 2016
1 parent 8a1cd53 commit 8816a7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -4,6 +4,9 @@ sudo: required

language: php

# Workaround for java not started issues: https://github.com/travis-ci/travis-ci/issues/6928
group: deprecated

services:
- mysql
- postgresql
Expand Down
3 changes: 3 additions & 0 deletions bin/.travis/prepare_unittest.sh
Expand Up @@ -42,6 +42,9 @@ if [ "$TEST_CONFIG" = "phpunit-integration-legacy-solr.xml" ] ; then
echo "> Require ezsystems/ezplatform-solr-search-engine:^1.1.0@dev"
composer require --no-update ezsystems/ezplatform-solr-search-engine:^1.1.0@dev
COMPOSER_UPDATE="true"

# Because of either some changes in travis, composer or git, composer is not able to pick version for "self" on inclusion of solr anymore, so we force it:
export COMPOSER_ROOT_VERSION=`php -r 'echo json_decode(file_get_contents("./composer.json"), true)["extra"]["branch-alias"]["dev-tmp_ci_branch"];'`
fi

# Switch to another Symfony version if asked for
Expand Down

0 comments on commit 8816a7e

Please sign in to comment.