xref: /PHP-7.3/.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                  INTRINSICS: AVX
36
37services:
38        # the setup scripts have to be touched, once some other db version is used
39        - mysql
40        - postgresql101
41        - mssql2017
42
43platform:
44        - x64
45          #        - x86
46
47build_script:
48        - appveyor\build.bat
49
50test_script:
51        - appveyor\test.bat
52