xref: /PHP-7.1/.appveyor.yml (revision 03f3b847)
1version: "{branch}.build.{build}"
2
3image: Visual Studio 2015
4
5branches:
6        except:
7                - PHP-5.6
8                - PHP-7.0
9
10clone_depth: 64
11
12cache:
13        - c:\build-cache
14
15environment:
16        PHP_BUILD_CACHE_BASE_DIR: c:\build-cache
17        PHP_BUILD_OBJ_DIR: c:\obj
18        PHP_BUILD_CACHE_SDK_DIR: c:\build-cache\sdk
19        PHP_BUILD_SDK_BRANCH: php-sdk-2.1.9beta1
20        # ext and env setup for tests
21        #MYSQL_TEST_PASSWD: Password12!
22        #MYSQL_TEST_USER: root
23        #PDO_MYSQL_TEST_DSN: "pgsql:host=127.0.0.1 port=5432 dbname=test user=root password=Password12!"
24        #PDO_MYSQL_TEST_USER: root
25        #PDO_MYSQL_TEST_PASS: Password12!
26        #PGSQL_TEST_CONNSTR: "host=127.0.0.1 dbname=test port=5432 user=postgres password=Password12!"
27        #PDO_PGSQL_TEST_DSN: "pgsql:host=127.0.0.1 port=5432 dbname=test user=postgres password=Password12!"
28        #build permutations
29        matrix:
30                - THREAD_SAFE: 0
31                  OPCACHE: 0
32                - THREAD_SAFE: 1
33                  OPCACHE: 1
34
35services:
36        # the setup scripts have to be touched, once some other db version is used
37        - mysql
38        - postgresql96
39
40platform:
41        - x64
42          #        - x86
43
44build_script:
45        - appveyor\build.bat
46
47test_script:
48        - appveyor\test.bat
49