diff options
| author | Anatol Belski <ab@php.net> | 2016-12-16 11:48:08 +0100 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2016-12-17 00:12:49 +0100 |
| commit | aeebae641e3e8e392be01077f41394575d210224 (patch) | |
| tree | 1c923b15b83b46741c9cbbd8986e57987674a132 /.appveyor.yml | |
| parent | 5004ae2b628254be334c6faae2b7751051cdc031 (diff) | |
| download | php-git-aeebae641e3e8e392be01077f41394575d210224.tar.gz | |
add scripts for AppVeyor integration
(cherry picked from commit c737d6fb495ee986f7819472db861aa9e1bf42b1)
Diffstat (limited to '.appveyor.yml')
| -rw-r--r-- | .appveyor.yml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000000..210130e9b8 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,43 @@ +image: Visual Studio 2015 + +clone_depth: 64 + +cache: + - c:\build-cache + - c:\build-cache\sdk -> .appveyor.yml + +environment: + PHP_BUILD_CACHE_BASE_DIR: c:\build-cache + PHP_BUILD_OBJ_DIR: c:\obj + PHP_BUILD_CACHE_SDK_DIR: c:\build-cache\sdk + PHP_BUILD_SDK_BRANCH: php-sdk-2.0.0alpha6 + # ext and env setup for tests + #MYSQL_TEST_PASSWD: Password12! + #MYSQL_TEST_USER: root + #PDO_MYSQL_TEST_DSN: "pgsql:host=127.0.0.1 port=5432 dbname=test user=root password=Password12!" + #PDO_MYSQL_TEST_USER: root + #PDO_MYSQL_TEST_PASS: Password12! + #PGSQL_TEST_CONNSTR: "host=127.0.0.1 dbname=test port=5432 user=postgres password=Password12!" + #PDO_PGSQL_TEST_DSN: "pgsql:host=127.0.0.1 port=5432 dbname=test user=postgres password=Password12!" + #build permutations + matrix: + - THREAD_SAFE: 0 + OPCACHE: 0 + - THREAD_SAFE: 1 + OPCACHE: 1 + +services: + # the setup scripts have to be touched, once some other db version is used + - mysql + - postgresql95 + +platform: + - x64 + # - x86 + +build_script: + - appveyor\build.bat + +test_script: + - appveyor\test.bat + |
