mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-14 04:00:57 +03:00
Installed pdo_sqlsrv extension in travis
This commit is contained in:
parent
f6d9a83202
commit
13bb48d068
1 changed files with 2 additions and 3 deletions
|
@ -15,8 +15,9 @@ cache:
|
|||
- $HOME/.composer/cache/files
|
||||
|
||||
before_install:
|
||||
- docker-compose -f docker-compose.yml -f docker-compose.ci.yml up -d shlink_db_ms shlink_db shlink_db_postgres shlink_db_maria
|
||||
- echo 'extension = apcu.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||
- yes | pecl install swoole-4.4.15
|
||||
- yes | pecl install swoole-4.4.15 pdo_sqlsrv
|
||||
- phpenv config-rm xdebug.ini || return 0
|
||||
|
||||
install:
|
||||
|
@ -24,8 +25,6 @@ install:
|
|||
- composer install --no-interaction --prefer-dist
|
||||
|
||||
before_script:
|
||||
- docker-compose -f docker-compose.yml -f docker-compose.ci.yml up -d shlink_db_ms shlink_db shlink_db_postgres shlink_db_maria
|
||||
- sleep 10 # Let MS database start-up before trying to interact with it
|
||||
- docker-compose exec shlink_db_ms /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'Passw0rd!' -Q "CREATE DATABASE shlink_test;"
|
||||
- mkdir build
|
||||
- export DOCKERFILE_CHANGED=$(git diff ${TRAVIS_COMMIT_RANGE:-origin/master} --name-only | grep Dockerfile)
|
||||
|
|
Loading…
Add table
Reference in a new issue