xref: /PHP-7.2/.appveyor.yml (revision 88ab3746)
1version: "{branch}.build.{build}"
2
3image: Visual Studio 2017
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.2.0
20        PHP_BUILD_CRT: vc15
21        # ext and env setup for tests
22        #MYSQL_TEST_PASSWD: Password12!
23        #MYSQL_TEST_USER: root
24        #PDO_MYSQL_TEST_DSN: "pgsql:host=127.0.0.1 port=5432 dbname=test user=root password=Password12!"
25        #PDO_MYSQL_TEST_USER: root
26        #PDO_MYSQL_TEST_PASS: Password12!
27        #PGSQL_TEST_CONNSTR: "host=127.0.0.1 dbname=test port=5432 user=postgres password=Password12!"
28        #PDO_PGSQL_TEST_DSN: "pgsql:host=127.0.0.1 port=5432 dbname=test user=postgres password=Password12!"
29        #build permutations
30        matrix:
31                - THREAD_SAFE: 0
32                  OPCACHE: 0
33                - THREAD_SAFE: 1
34                  OPCACHE: 1
35
36services:
37        # the setup scripts have to be touched, once some other db version is used
38        - mysql
39        - postgresql96
40
41platform:
42        - x64
43          #        - x86
44
45build_script:
46        - appveyor\build.bat
47
48test_script:
49        - appveyor\test.bat
50