Merge branch '4.4' into 5.1
* 4.4: [travis] Fix location of composer home
This commit is contained in:
commit
a6dd1dbbca
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
@ -106,7 +106,8 @@ jobs:
|
||||
|
||||
- name: Configure composer
|
||||
run: |
|
||||
([ -d ~/.composer ] || mkdir ~/.composer) && cp .github/composer-config.json ~/.composer/config.json
|
||||
COMPOSER_HOME="$(composer config home)"
|
||||
([ -d "$COMPOSER_HOME" ] || mkdir "$COMPOSER_HOME") && cp .github/composer-config.json "$COMPOSER_HOME/config.json"
|
||||
echo "COMPOSER_ROOT_VERSION=$(grep branch-version composer.json | grep -o '[0-9.]*').x-dev" >> $GITHUB_ENV
|
||||
|
||||
- name: Determine composer cache directory
|
||||
|
@ -60,8 +60,7 @@ before_install:
|
||||
[ -d /usr/lib/openldap ] && ln -s /usr/lib/openldap /tmp/slapd-modules || ln -s /usr/lib/ldap /tmp/slapd-modules
|
||||
fi
|
||||
slapd -f src/Symfony/Component/Ldap/Tests/Fixtures/conf/slapd.conf -h ldap://localhost:3389 &
|
||||
[ -d ~/.composer ] || mkdir ~/.composer
|
||||
cp .github/composer-config.json ~/.composer/config.json
|
||||
cp .github/composer-config.json "$(composer config home)/config.json"
|
||||
export PHPUNIT=$(readlink -f ./phpunit)
|
||||
export PHPUNIT_X="$PHPUNIT --exclude-group tty,benchmark,intl-data"
|
||||
export COMPOSER_UP='composer update --no-progress --ansi'
|
||||
|
Reference in New Issue
Block a user