Skip to content

Commit

Permalink
Use PECL sqlsrv & pdo_sqlsrv devel versions (5.4.0preview) with PHP 7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Nov 16, 2018
1 parent 783a278 commit b85ff57
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
7 changes: 6 additions & 1 deletion tests/travis/install-mssql-pdo_sqlsrv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 6 additions & 1 deletion tests/travis/install-mssql-sqlsrv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b85ff57

Please sign in to comment.