diff --git a/.travis.yml b/.travis.yml index 5d6e578..7284551 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,8 @@ matrix: dist: trusty - php: 7.1 dist: trusty + - php: 7.2 + dist: trusty - php: hhvm dist: trusty - php: hhvm-nightly diff --git a/README.md b/README.md index 5d9a135..ade48ab 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ For latest commit version: ### Requirements -PHP Curl Class works with PHP 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, and HHVM. +PHP Curl Class works with PHP 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, and HHVM. ### Quick Start and Examples diff --git a/tests/before_script.sh b/tests/before_script.sh index 9da5fe7..33d2172 100755 --- a/tests/before_script.sh +++ b/tests/before_script.sh @@ -66,6 +66,8 @@ elif [[ "${TRAVIS_PHP_VERSION}" == "7.0" ]]; then php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ & elif [[ "${TRAVIS_PHP_VERSION}" == "7.1" ]]; then php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ & +elif [[ "${TRAVIS_PHP_VERSION}" == "7.2" ]]; then + php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ & elif [[ "${TRAVIS_PHP_VERSION}" == "hhvm" || "${TRAVIS_PHP_VERSION}" == "hhvm-nightly" ]]; then curl "https://nginx.org/keys/nginx_signing.key" | sudo apt-key add - echo "deb https://nginx.org/packages/mainline/ubuntu/ trusty nginx" | sudo tee -a /etc/apt/sources.list