Skip to content

Commit cbe9ab7

Browse files
authored
Merge pull request php-curl-class#617 from zachborboa/php74
Add PHP 7.4 to continuous integration tests
2 parents aa7bffa + c58b8be commit cbe9ab7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ matrix:
2525
dist: trusty
2626
- php: 7.3
2727
dist: trusty
28+
- php: 7.4
29+
dist: xenial
2830
- php: hhvm
2931
dist: trusty
3032
- php: hhvm-nightly

tests/before_script.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ elif [[ "${TRAVIS_PHP_VERSION}" == "7.2" ]]; then
168168
php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &
169169
elif [[ "${TRAVIS_PHP_VERSION}" == "7.3" ]]; then
170170
php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &
171+
elif [[ "${TRAVIS_PHP_VERSION}" == "7.4" ]]; then
172+
php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &
171173
elif [[ "${TRAVIS_PHP_VERSION}" == "hhvm" || "${TRAVIS_PHP_VERSION}" == "hhvm-nightly" ]]; then
172174
curl "https://nginx.org/keys/nginx_signing.key" | sudo apt-key add -
173175
echo "deb https://nginx.org/packages/mainline/ubuntu/ trusty nginx" | sudo tee -a /etc/apt/sources.list

0 commit comments

Comments
 (0)