Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Enable PHP 7.3 on Travis #29979

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 36 additions & 7 deletions 43 .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ addons:
- language-pack-fr-base
- ldap-utils
- slapd
- libsasl2-dev

env:
global:
Expand All @@ -23,10 +24,10 @@ matrix:
sudo: required
group: edge
- php: 5.5
env: php_extra="5.6 7.0"
- php: 7.1
env: deps=high
env: php_extra="5.6 7.0 7.1"
- php: 7.2
env: deps=high
- php: 7.3
env: deps=low
fast_finish: true

Expand All @@ -43,6 +44,12 @@ services:
- docker

before_install:
- |
# Enable Sury ppa
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157
sudo add-apt-repository -y ppa:ondrej/php
sudo apt update

- |
# Start Redis cluster
docker pull grokzen/redis-cluster:4.0.8
Expand Down Expand Up @@ -149,7 +156,6 @@ before_install:
echo hhvm.jit = 0 >> $INI
echo apc.enable_cli = 1 >> $INI
echo extension = redis.so >> $INI
echo extension = memcached.so >> $INI
if [[ $PHP = 5.* ]]; then
echo extension = memcache.so >> $INI
echo extension = mongo.so >> $INI
Expand All @@ -174,15 +180,38 @@ before_install:
elif [[ $PHP = 7.* ]]; then
if ! php --ri sodium > /dev/null; then
# install libsodium
sudo add-apt-repository ppa:ondrej/php -y
sudo apt-get update -q
sudo apt-get install libsodium-dev -y
tfold ext.libsodium tpecl libsodium sodium.so $INI
fi

tfold ext.apcu tpecl apcu-5.1.6 apcu.so $INI
tfold ext.apcu tpecl apcu-5.1.16 apcu.so $INI
tfold ext.mongodb tpecl mongodb-1.6.0alpha1 mongodb.so $INI
fi

if [[ $PHP == 7.3 ]]; then
# System libmemcached is missing sasl
LIBMEMCACHED_VERSION=1.0.18
wget "https://launchpad.net/libmemcached/1.0/${LIBMEMCACHED_VERSION}/+download/libmemcached-${LIBMEMCACHED_VERSION}.tar.gz" -O libmemcached-${LIBMEMCACHED_VERSION}.tar.gz
tar xvfz libmemcached-${LIBMEMCACHED_VERSION}.tar.gz
cd "libmemcached-${LIBMEMCACHED_VERSION}"
mkdir -p /opt/libmemcached/${LIBMEMCACHED_VERSION}
./configure --prefix="/opt/libmemcached/${LIBMEMCACHED_VERSION}" LDFLAGS="-lpthread"
make
make install
cd -

EXTMEMCACHED_VERSION=3.1.3
wget https://pecl.php.net/get/memcached-${EXTMEMCACHED_VERSION}.tgz
tar xzvf memcached-${EXTMEMCACHED_VERSION}.tgz
cd memcached-${EXTMEMCACHED_VERSION}
phpize
./configure --with-libmemcached-dir=/opt/libmemcached/${LIBMEMCACHED_VERSION}
make
sudo make install
cd -
fi

echo extension = memcached.so >> $INI
done

- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ public function testCookieOptions()
$gco['cookie_'.$key] = $value;
}

unset($gco['cookie_samesite']);

$this->assertEquals($options, $gco);
}

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.