Skip to content

Commit 3e8865f

Browse files
author
David Alger
committed
Avoid relative path to composer vendor bin in travis tests
1 parent 57712e6 commit 3e8865f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dev/travis/before_script.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ echo 'memory_limit = -1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d
7474
phpenv rehash;
7575

7676
# install deps
77+
export COMPOSER_BIN_DIR=~/bin
7778
if [[ -n "$GITHUB_TOKEN" ]]; then
7879
composer config github-oauth.github.com "$GITHUB_TOKEN"
7980
fi

dev/travis/script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# See COPYING.txt for license details.
55

66
set -e
7-
export PATH="./../../../vendor/bin:$PATH"
7+
export PATH="~/bin:$PATH"
88

99
case $TEST_SUITE in
1010
unit)

0 commit comments

Comments
 (0)