Skip to content

Commit 91e43b6

Browse files
authored
Run test on php7.2 (#222)
1 parent b008bf0 commit 91e43b6

File tree

5 files changed

+20
-0
lines changed

5 files changed

+20
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ matrix:
2020
- php: 7.0
2121
env: COVERAGE=true
2222
- php: 7.1
23+
- php: 7.2
2324
- php: 5.6
2425

2526
services:

build/php/7.2/Apcu.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
echo "Add php.ini settings"
4+
phpenv config-add ./build/php/apc.ini
5+
6+
echo "Install APCu Adapter dependencies"
7+
yes '' | pecl install -f apcu-5.1.8

build/php/7.2/Memcached.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
echo "Install memcache(d)"
4+
echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini

build/php/7.2/MongoDB.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
echo "Install MongoDB"
4+
pecl install -f mongodb-1.1.2

build/php/7.2/Redis.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
echo "Install redis"
4+
yes '' | pecl install -f redis-3.0.0

0 commit comments

Comments
 (0)