diff --git a/.travis.yml b/.travis.yml index 22bef2b7129..49fb1d6f77b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -411,6 +411,15 @@ jobs: before_script: - bash ./tests/travis/install-mssql-$DB.sh - bash ./tests/travis/install-mssql.sh + - stage: Test + php: 7.3 + env: DB=sqlsrv + sudo: required + services: + - docker + before_script: + - bash ./tests/travis/install-mssql-$DB.sh + - bash ./tests/travis/install-mssql.sh - stage: Test php: 7.1 @@ -430,6 +439,15 @@ jobs: before_script: - bash ./tests/travis/install-mssql-$DB.sh - bash ./tests/travis/install-mssql.sh + - stage: Test + php: 7.3 + env: DB=pdo_sqlsrv + sudo: required + services: + - docker + before_script: + - bash ./tests/travis/install-mssql-$DB.sh + - bash ./tests/travis/install-mssql.sh - stage: Test env: DB=ibm_db2 COVERAGE=yes diff --git a/tests/travis/install-mssql-pdo_sqlsrv.sh b/tests/travis/install-mssql-pdo_sqlsrv.sh index e9165549f6f..5295a38cc28 100644 --- a/tests/travis/install-mssql-pdo_sqlsrv.sh +++ b/tests/travis/install-mssql-pdo_sqlsrv.sh @@ -3,4 +3,9 @@ set -ex echo "Installing extension" -pecl install pdo_sqlsrv + +if [ "$TRAVIS_PHP_VERSION" == "7.3" ]; then + pecl install pdo_sqlsrv-devel +else + pecl install pdo_sqlsrv +fi diff --git a/tests/travis/install-mssql-sqlsrv.sh b/tests/travis/install-mssql-sqlsrv.sh index dede9458f7c..8a63a9fb342 100644 --- a/tests/travis/install-mssql-sqlsrv.sh +++ b/tests/travis/install-mssql-sqlsrv.sh @@ -3,4 +3,9 @@ set -ex echo "Installing extension" -pecl install sqlsrv + +if [ "$TRAVIS_PHP_VERSION" == "7.3" ]; then + pecl install sqlsrv-devel +else + pecl install sqlsrv +fi