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