Skip to content

Commit 5f7df9c

Browse files
authored
Merge pull request #53 from nick-zh/fix-master-build
fix master build
2 parents 271ddf6 + 172e922 commit 5f7df9c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,10 +316,6 @@ install:
316316
cp default_configure_options.$RELEASE $HOME/.php-build/share/php-build/default_configure_options
317317
fi
318318
- cat custom_configure_options >> $HOME/.php-build/share/php-build/default_configure_options
319-
- | # disable xdebug on master
320-
if [[ $VERSION = master && $RELEASE != xenial ]]; then
321-
sed -i -e '/install_xdebug_master/d' $HOME/.php-build/share/php-build/definitions/$VERSION
322-
fi
323319
- |
324320
if [[ $(lsb_release -cs) = "trusty" || $(lsb_release -cs) = "xenial" || $(lsb_release -cs) = "bionic" ]]; then
325321
if [[ $HOSTTYPE == "powerpc64le" ]]; then

bin/compile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ set -o xtrace
6060

6161
export PATH="$HOME/.phpenv/bin:$HOME/.php-build/bin:$PATH"
6262

63+
if [[ $VERSION == nightly* || $VERSION == master* ]]; then
64+
VERSION=8.0snapshot
65+
fi
66+
6367
php-build -i development "${VERSION}" "${INSTALL_DEST}/${VERSION}"
6468

6569
pushd "${INSTALL_DEST}/${VERSION}"
@@ -83,7 +87,7 @@ ln -sv ../sbin/php-fpm bin/php-fpm
8387

8488
# composer and phpunit
8589
curl -fsSL -o bin/composer http://getcomposer.org/composer.phar
86-
if [[ $VERSION == nightly* || $VERSION == master* || $VERSION == 7* ]]; then
90+
if [[ $VERSION == nightly* || $VERSION == master* || $VERSION == 7* || $VERSION == 8.0snapshot ]]; then
8791
PHPUNIT_ARCHIVE=phpunit.phar
8892
elif [[ $VERSION == 5.6* ]]; then
8993
PHPUNIT_ARCHIVE=phpunit-5.7.phar

0 commit comments

Comments
 (0)