8000 Add php 8.1 job to Travis · symfony/symfony@28b030c · GitHub
[go: up one dir, main page]

Skip to content

Commit 28b030c

Browse files
committed
Add php 8.1 job to Travis
1 parent 2a3f912 commit 28b030c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ matrix:
2727
env: deps=high
2828
- php: 8.0
2929
env: deps=low
30+
- php: nightly
3031
fast_finish: true
32+
allow_failures:
33+
- php: nightly
3134

3235
cache:
3336
directories:
@@ -129,7 +132,7 @@ before_install:
129132
echo session.gc_probability = 0 >> $INI
130133
echo opcache.enable_cli = 1 >> $INI
131134
echo apc.enable_cli = 1 >> $INI
132-
if [[ $PHP != 8.* ]]; then
135+
if [[ $PHP = 7.* ]]; then
133136
echo extension = memcached.so >> $INI
134137
fi
135138
done
@@ -146,7 +149,7 @@ before_install:
146149
if ! php --ri sodium > /dev/null; then
147150
tfold ext.libsodium tpecl libsodium sodium.so $INI
148151
fi
149-
if [[ $PHP = 8.* ]]; then
152+
if [[ $PHP != 7.* ]]; then
150153
tfold ext.memcached tpecl memcached-3.1.5 memcached.so $INI
151154
else
152155
tfold ext.zookeeper tpecl zookeeper-0.7.2 zookeeper.so $INI

0 commit comments

Comments
 (0)
0