@@ -3,39 +3,103 @@ sudo: required
33language : php
44
55services :
6- - docker
6+ - docker
77
88php :
9- - ' 7.0'
10- - ' 7.1'
11- - ' 7.2'
12- - nightly
9+ - ' 7.1'
10+ - ' 7.2'
1311
1412env :
1513 global :
16- - DOCKER_COMPOSE_VERSION=1.19 .0
14+ - DOCKER_COMPOSE_VERSION=1.22 .0
1715 matrix :
18- - DEPENDENCIES="low" INTEGRATION_TEST="enabled"
19- - DEPENDENCIES="low" INTEGRATION_TEST="disabled"
20- - DEPENDENCIES="stable" INTEGRATION_TEST="enabled"
21- - DEPENDENCIES="stable" INTEGRATION_TEST="disabled"
22-
23- matrix :
24- allow_failures :
25- - php : nightly
16+ - DEPENDENCIES="low"
17+ - DEPENDENCIES="stable"
2618
2719before_script :
28- - if [ "$INTEGRATION_TEST" == "enabled" ]; then sudo rm /usr/local/bin/docker-compose; fi;
29- - if [ "$INTEGRATION_TEST" == "enabled" ]; then curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose; fi;
30- - if [ "$INTEGRATION_TEST" == "enabled" ]; then chmod +x docker-compose; fi;
31- - if [ "$INTEGRATION_TEST" == "enabled" ]; then sudo mv docker-compose /usr/local/bin; fi;
32- - composer self-update
33- - if [ "$DEPENDENCIES" == "stable" ]; then composer update --prefer-stable; fi;
34- - if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest --prefer-stable; fi;
20+ - make install-phars
21+ - if [ "$INTEGRATION_TEST" == "enabled" ]; then sudo rm /usr/local/bin/docker-compose; fi;
22+ - if [ "$INTEGRATION_TEST" == "enabled" ]; then curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose; fi;
23+ - if [ "$INTEGRATION_TEST" == "enabled" ]; then chmod +x docker-compose; fi;
24+ - if [ "$INTEGRATION_TEST" == "enabled" ]; then sudo mv docker-compose /usr/local/bin; fi;
25+ - composer self-update
26+ - if [ "$DEPENDENCIES" == "stable" ]; then composer update --prefer-stable; fi;
27+ - if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest --prefer-stable; fi;
3528
3629script :
37- - if [ "$INTEGRATION_TEST" == "disabled" ]; then make quick-test; fi;
38- - if [ "$INTEGRATION_TEST" == "enabled" ]; then make integration-test; fi;
30+ - COMPOSER=composer PHP=php make ci-local
3931
32+ jobs :
33+ include :
34+ - stage : coverage
35+ php : 7.2
36+ env :
37+ - DEPENDENCIES="stable"
38+ script :
39+ - PHP=php make coverage
40+ - stage : integration
41+ php : 7.2
42+ env :
43+ - DEPENDENCIES="stable"
44+ - INTEGRATION_TEST="enabled"
45+ - CONFLUENT_VERSION=3.1.2
46+ script :
47+ - make platform
48+ - PHP=php make phpunit-integration
49+ - stage : integration
50+ php : 7.2
51+ env :
52+ - DEPENDENCIES="stable"
53+ - INTEGRATION_TEST="enabled"
54+ - CONFLUENT_VERSION=3.2.4
55+ script :
56+ - make platform
57+ - PHP=php make phpunit-integration
58+ - stage : integration
59+ php : 7.2
60+ env :
61+ - DEPENDENCIES="stable"
62+ - INTEGRATION_TEST="enabled"
63+ - CONFLUENT_VERSION=3.3.2
64+ script :
65+ - make platform
66+ - PHP=php make phpunit-integration
67+ - stage : integration
68+ php : 7.2
69+ env :
70+ - DEPENDENCIES="stable"
71+ - INTEGRATION_TEST="enabled"
72+ - CONFLUENT_VERSION=4.0.2
73+ script :
74+ - make platform
75+ - PHP=php make phpunit-integration
76+ - stage : integration
77+ php : 7.2
78+ env :
79+ - DEPENDENCIES="stable"
80+ - INTEGRATION_TEST="enabled"
81+ - CONFLUENT_VERSION=4.1.2
82+ script :
83+ - make platform
84+ - PHP=php make phpunit-integration
85+ - stage : integration
86+ php : 7.2
87+ env :
88+ - DEPENDENCIES="stable"
89+ - INTEGRATION_TEST="enabled"
90+ - CONFLUENT_VERSION=5.0.0
91+ script :
92+ - make platform
93+ - PHP=php make phpunit-integration
4094after_script :
41- - make clean
95+ - make clean
96+
97+ branches :
98+ only :
99+ - master
100+ - ' /^ft-.*/'
101+ - ' /^\d+\.\d+\.\d+$/'
102+
103+ cache :
104+ directories :
105+ - $HOME/.composer/cache/files
0 commit comments