Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
94afff5f
Unverified
Commit
94afff5f
authored
Mar 17, 2018
by
Marco Pivetta
Committed by
GitHub
Mar 17, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3056 from photodude/patch-8
Set Appveyor to use PHP 7.2
parents
24adecc1
7324b58f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
23 deletions
+21
-23
.appveyor.yml
.appveyor.yml
+21
-23
No files found.
.appveyor.yml
View file @
94afff5f
...
@@ -9,7 +9,7 @@ clone_depth: 1
...
@@ -9,7 +9,7 @@ clone_depth: 1
cache
:
cache
:
-
C:\ProgramData\chocolatey\bin -> .appveyor.yml
-
C:\ProgramData\chocolatey\bin -> .appveyor.yml
-
C:\ProgramData\chocolatey\lib -> .appveyor.yml
-
C:\ProgramData\chocolatey\lib -> .appveyor.yml
-
c
:\tools\php -> .appveyor.yml
-
C
:\tools\php -> .appveyor.yml
-
composer.phar
-
composer.phar
-
'
%LOCALAPPDATA%\Composer\files'
-
'
%LOCALAPPDATA%\Composer\files'
#- vendor
#- vendor
...
@@ -20,19 +20,19 @@ environment:
...
@@ -20,19 +20,19 @@ environment:
-
db
:
mssql
-
db
:
mssql
driver
:
sqlsrv
driver
:
sqlsrv
db_version
:
sql2008r2sp2
db_version
:
sql2008r2sp2
php
:
7.
1
php
:
7.
2
-
db
:
mssql
-
db
:
mssql
driver
:
sqlsrv
driver
:
sqlsrv
db_version
:
sql2012sp1
db_version
:
sql2012sp1
php
:
7.
1
php
:
7.
2
-
db
:
mssql
-
db
:
mssql
driver
:
sqlsrv
driver
:
sqlsrv
db_version
:
sql2017
db_version
:
sql2017
php
:
7.
1
php
:
7.
2
-
db
:
mssql
-
db
:
mssql
driver
:
pdo_sqlsrv
driver
:
pdo_sqlsrv
db_version
:
sql2017
db_version
:
sql2017
php
:
7.
1
php
:
7.
2
init
:
init
:
-
SET PATH=C:\Program Files\OpenSSL;c:\tools\php;%PATH%
-
SET PATH=C:\Program Files\OpenSSL;c:\tools\php;%PATH%
...
@@ -60,24 +60,22 @@ install:
...
@@ -60,24 +60,22 @@ install:
Add-Content php.ini "`n extension=php_pdo_sqlite.dll"
Add-Content php.ini "`n extension=php_pdo_sqlite.dll"
Add-Content php.ini "`n extension=php_sqlite3.dll"
Add-Content php.ini "`n extension=php_sqlite3.dll"
# If needed get the MSSQL DLL's
# Get and install the MSSQL DLL's
if ($env:db -eq "mssql") {
$DLLVersion = "5.2.0rc1"
$DLLVersion = "5.2.0rc1"
cd c:\tools\php\ext
cd c:\tools\php\ext
$source = "https://windows.php.net/downloads/pecl/releases/sqlsrv/$($DLLVersion)/php_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip"
$source = "https://windows.php.net/downloads/pecl/releases/sqlsrv/$($DLLVersion)/php_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc14-x64.zip"
$destination = "c:\tools\php\ext\php_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip"
$destination = "c:\tools\php\ext\php_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc14-x64.zip"
Invoke-WebRequest $source -OutFile $destination
Invoke-WebRequest $source -OutFile $destination
7z x -y php_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip > $null
7z x -y php_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc14-x64.zip > $null
$source = "https://windows.php.net/downloads/pecl/releases/pdo_sqlsrv/$($DLLVersion)/php_pdo_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip"
$source = "https://windows.php.net/downloads/pecl/releases/pdo_sqlsrv/$($DLLVersion)/php_pdo_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc14-x64.zip"
$destination = "c:\tools\php\ext\php_pdo_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip"
$destination = "c:\tools\php\ext\php_pdo_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc14-x64.zip"
Invoke-WebRequest $source -OutFile $destination
Invoke-WebRequest $source -OutFile $destination
7z x -y php_pdo_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc15-x64.zip > $null
7z x -y php_pdo_sqlsrv-$($DLLVersion)-$($env:php)-nts-vc14-x64.zip > $null
Remove-Item c:\tools\php\* -include .zip
Remove-Item c:\tools\php\* -include .zip
cd c:\tools\php
cd c:\tools\php
Add-Content php.ini "`nextension=php_sqlsrv.dll"
Add-Content php.ini "`nextension=php_sqlsrv.dll"
Add-Content php.ini "`nextension=php_pdo_sqlsrv.dll"
Add-Content php.ini "`nextension=php_pdo_sqlsrv.dll"
Add-Content php.ini "`n"
Add-Content php.ini "`n"
}
cd c:\projects\dbal
cd c:\projects\dbal
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment