1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,94 +0,0 @@ |
1 |
-sudo: false |
|
2 |
-language: php |
|
3 |
- |
|
4 |
-env: |
|
5 |
- global: |
|
6 |
- - COVERAGE_DEPS="php-coveralls/php-coveralls" |
|
7 |
- - COMPOSER_ARGS="--no-interaction" |
|
8 |
- |
|
9 |
-matrix: |
|
10 |
- include: |
|
11 |
- - php: 5.6 |
|
12 |
- env: |
|
13 |
- - DEPS=lowest |
|
14 |
- - php: 5.6 |
|
15 |
- env: |
|
16 |
- - DEPS=latest |
|
17 |
- - php: 7 |
|
18 |
- env: |
|
19 |
- - DEPS=lowest |
|
20 |
- - php: 7 |
|
21 |
- env: |
|
22 |
- - DEPS=locked |
|
23 |
- - php: 7 |
|
24 |
- env: |
|
25 |
- - DEPS=latest |
|
26 |
- - php: 7.1 |
|
27 |
- env: |
|
28 |
- - DEPS=lowest |
|
29 |
- - php: 7.1 |
|
30 |
- env: |
|
31 |
- - DEPS=locked |
|
32 |
- - php: 7.1 |
|
33 |
- env: |
|
34 |
- - DEPS=latest |
|
35 |
- - php: 7.2 |
|
36 |
- env: |
|
37 |
- - DEPS=lowest |
|
38 |
- - php: 7.2 |
|
39 |
- env: |
|
40 |
- - DEPS=locked |
|
41 |
- - CS_CHECK=false |
|
42 |
- - TEST_COVERAGE=true |
|
43 |
- - php: 7.2 |
|
44 |
- env: |
|
45 |
- - DEPS=latest |
|
46 |
- - php: 7.3 |
|
47 |
- env: |
|
48 |
- - DEPS=lowest |
|
49 |
- - php: 7.3 |
|
50 |
- env: |
|
51 |
- - DEPS=locked |
|
52 |
- - php: 7.3 |
|
53 |
- env: |
|
54 |
- - DEPS=latest |
|
55 |
- - php: 7.4 |
|
56 |
- env: |
|
57 |
- - DEPS=lowest |
|
58 |
- - php: 7.4 |
|
59 |
- env: |
|
60 |
- - DEPS=locked |
|
61 |
- - php: 7.4 |
|
62 |
- env: |
|
63 |
- - DEPS=latest |
|
64 |
- |
|
65 |
-before_install: |
|
66 |
- - shopt -s expand_aliases |
|
67 |
- - alias composer="travis_retry docker-compose run --rm php composer" |
|
68 |
- - alias php="travis_retry docker-compose run -e TRAVIS -e TRAVIS_JOB_ID --rm php php" |
|
69 |
- - docker-compose build --build-arg PHP_VERSION=${TRAVIS_PHP_VERSION} --build-arg XDEBUG=${TEST_COVERAGE:+1} --no-cache php |
|
70 |
- - composer --version |
|
71 |
- - php -v |
|
72 |
- - php -m |
|
73 |
- |
|
74 |
-install: |
|
75 |
- - composer install $COMPOSER_ARGS --ignore-platform-reqs |
|
76 |
- - if [[ $LEGACY_DEPS != '' ]]; then composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi |
|
77 |
- - if [[ $DEPS == 'latest' ]]; then composer update $COMPOSER_ARGS ; fi |
|
78 |
- - if [[ $DEPS == 'lowest' ]]; then composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi |
|
79 |
- - if [[ $TRAVIS_PHP_VERSION != "5.6" ]] ; then composer require --dev $COMPOSER_ARGS $ADAPTER_DEPS ; fi |
|
80 |
- - if [[ $TEST_COVERAGE == 'true' ]]; then composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi |
|
81 |
- - stty cols 120 && composer show |
|
82 |
- - composer show |
|
83 |
- |
|
84 |
-script: |
|
85 |
- - if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi |
|
86 |
- - if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi |
|
87 |
- |
|
88 |
-after_script: |
|
89 |
- - if [[ $TEST_COVERAGE == 'true' ]]; then php vendor/bin/php-coveralls -v ; fi |
|
90 |
- |
|
91 |
-notifications: |
|
92 |
- email: false |
|
93 |
- |
|
94 |
- |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,94 @@ |
1 |
+sudo: false |
|
2 |
+language: php |
|
3 |
+ |
|
4 |
+env: |
|
5 |
+ global: |
|
6 |
+ - COVERAGE_DEPS="php-coveralls/php-coveralls" |
|
7 |
+ - COMPOSER_ARGS="--no-interaction" |
|
8 |
+ |
|
9 |
+matrix: |
|
10 |
+ include: |
|
11 |
+ - php: 5.6 |
|
12 |
+ env: |
|
13 |
+ - DEPS=lowest |
|
14 |
+ - php: 5.6 |
|
15 |
+ env: |
|
16 |
+ - DEPS=latest |
|
17 |
+ - php: 7 |
|
18 |
+ env: |
|
19 |
+ - DEPS=lowest |
|
20 |
+ - php: 7 |
|
21 |
+ env: |
|
22 |
+ - DEPS=locked |
|
23 |
+ - php: 7 |
|
24 |
+ env: |
|
25 |
+ - DEPS=latest |
|
26 |
+ - php: 7.1 |
|
27 |
+ env: |
|
28 |
+ - DEPS=lowest |
|
29 |
+ - php: 7.1 |
|
30 |
+ env: |
|
31 |
+ - DEPS=locked |
|
32 |
+ - php: 7.1 |
|
33 |
+ env: |
|
34 |
+ - DEPS=latest |
|
35 |
+ - php: 7.2 |
|
36 |
+ env: |
|
37 |
+ - DEPS=lowest |
|
38 |
+ - php: 7.2 |
|
39 |
+ env: |
|
40 |
+ - DEPS=locked |
|
41 |
+ - CS_CHECK=false |
|
42 |
+ - TEST_COVERAGE=true |
|
43 |
+ - php: 7.2 |
|
44 |
+ env: |
|
45 |
+ - DEPS=latest |
|
46 |
+ - php: 7.3 |
|
47 |
+ env: |
|
48 |
+ - DEPS=lowest |
|
49 |
+ - php: 7.3 |
|
50 |
+ env: |
|
51 |
+ - DEPS=locked |
|
52 |
+ - php: 7.3 |
|
53 |
+ env: |
|
54 |
+ - DEPS=latest |
|
55 |
+ - php: 7.4 |
|
56 |
+ env: |
|
57 |
+ - DEPS=lowest |
|
58 |
+ - php: 7.4 |
|
59 |
+ env: |
|
60 |
+ - DEPS=locked |
|
61 |
+ - php: 7.4 |
|
62 |
+ env: |
|
63 |
+ - DEPS=latest |
|
64 |
+ |
|
65 |
+before_install: |
|
66 |
+ - shopt -s expand_aliases |
|
67 |
+ - alias composer="travis_retry docker-compose run --rm php composer" |
|
68 |
+ - alias php="travis_retry docker-compose run -e TRAVIS -e TRAVIS_JOB_ID --rm php php" |
|
69 |
+ - docker-compose build --build-arg PHP_VERSION=${TRAVIS_PHP_VERSION} --build-arg XDEBUG=${TEST_COVERAGE:+1} --no-cache php |
|
70 |
+ - composer --version |
|
71 |
+ - php -v |
|
72 |
+ - php -m |
|
73 |
+ |
|
74 |
+install: |
|
75 |
+ - composer install $COMPOSER_ARGS --ignore-platform-reqs |
|
76 |
+ - if [[ $LEGACY_DEPS != '' ]]; then composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi |
|
77 |
+ - if [[ $DEPS == 'latest' ]]; then composer update $COMPOSER_ARGS ; fi |
|
78 |
+ - if [[ $DEPS == 'lowest' ]]; then composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi |
|
79 |
+ - if [[ $TRAVIS_PHP_VERSION != "5.6" ]] ; then composer require --dev $COMPOSER_ARGS $ADAPTER_DEPS ; fi |
|
80 |
+ - if [[ $TEST_COVERAGE == 'true' ]]; then composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi |
|
81 |
+ - stty cols 120 && composer show |
|
82 |
+ - composer show |
|
83 |
+ |
|
84 |
+script: |
|
85 |
+ - if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi |
|
86 |
+ - if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi |
|
87 |
+ |
|
88 |
+after_script: |
|
89 |
+ - if [[ $TEST_COVERAGE == 'true' ]]; then php vendor/bin/php-coveralls -v ; fi |
|
90 |
+ |
|
91 |
+notifications: |
|
92 |
+ email: false |
|
93 |
+ |
|
94 |
+ |
1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,94 +0,0 @@ |
1 |
-sudo: false |
|
2 |
-language: php |
|
3 |
- |
|
4 |
-env: |
|
5 |
- global: |
|
6 |
- - COVERAGE_DEPS="php-coveralls/php-coveralls" |
|
7 |
- - COMPOSER_ARGS="--no-interaction" |
|
8 |
- |
|
9 |
-matrix: |
|
10 |
- include: |
|
11 |
- - php: 5.6 |
|
12 |
- env: |
|
13 |
- - DEPS=lowest |
|
14 |
- - php: 5.6 |
|
15 |
- env: |
|
16 |
- - DEPS=latest |
|
17 |
- - php: 7 |
|
18 |
- env: |
|
19 |
- - DEPS=lowest |
|
20 |
- - php: 7 |
|
21 |
- env: |
|
22 |
- - DEPS=locked |
|
23 |
- - php: 7 |
|
24 |
- env: |
|
25 |
- - DEPS=latest |
|
26 |
- - php: 7.1 |
|
27 |
- env: |
|
28 |
- - DEPS=lowest |
|
29 |
- - php: 7.1 |
|
30 |
- env: |
|
31 |
- - DEPS=locked |
|
32 |
- - php: 7.1 |
|
33 |
- env: |
|
34 |
- - DEPS=latest |
|
35 |
- - php: 7.2 |
|
36 |
- env: |
|
37 |
- - DEPS=lowest |
|
38 |
- - php: 7.2 |
|
39 |
- env: |
|
40 |
- - DEPS=locked |
|
41 |
- - CS_CHECK=false |
|
42 |
- - TEST_COVERAGE=true |
|
43 |
- - php: 7.2 |
|
44 |
- env: |
|
45 |
- - DEPS=latest |
|
46 |
- - php: 7.3 |
|
47 |
- env: |
|
48 |
- - DEPS=lowest |
|
49 |
- - php: 7.3 |
|
50 |
- env: |
|
51 |
- - DEPS=locked |
|
52 |
- - php: 7.3 |
|
53 |
- env: |
|
54 |
- - DEPS=latest |
|
55 |
- - php: 7.4 |
|
56 |
- env: |
|
57 |
- - DEPS=lowest |
|
58 |
- - php: 7.4 |
|
59 |
- env: |
|
60 |
- - DEPS=locked |
|
61 |
- - php: 7.4 |
|
62 |
- env: |
|
63 |
- - DEPS=latest |
|
64 |
- |
|
65 |
-before_install: |
|
66 |
- - shopt -s expand_aliases |
|
67 |
- - alias composer="travis_retry docker-compose run --rm php composer" |
|
68 |
- - alias php="travis_retry docker-compose run -e TRAVIS -e TRAVIS_JOB_ID --rm php php" |
|
69 |
- - docker-compose build --build-arg PHP_VERSION=${TRAVIS_PHP_VERSION} --build-arg XDEBUG=${TEST_COVERAGE:+1} --no-cache php |
|
70 |
- - composer --version |
|
71 |
- - php -v |
|
72 |
- - php -m |
|
73 |
- |
|
74 |
-install: |
|
75 |
- - composer install $COMPOSER_ARGS --ignore-platform-reqs |
|
76 |
- - if [[ $LEGACY_DEPS != '' ]]; then composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi |
|
77 |
- - if [[ $DEPS == 'latest' ]]; then composer update $COMPOSER_ARGS ; fi |
|
78 |
- - if [[ $DEPS == 'lowest' ]]; then composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi |
|
79 |
- - if [[ $TRAVIS_PHP_VERSION != "5.6" ]] ; then composer require --dev $COMPOSER_ARGS $ADAPTER_DEPS ; fi |
|
80 |
- - if [[ $TEST_COVERAGE == 'true' ]]; then composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi |
|
81 |
- - stty cols 120 && composer show |
|
82 |
- - composer show |
|
83 |
- |
|
84 |
-script: |
|
85 |
- - if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi |
|
86 |
- - if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi |
|
87 |
- |
|
88 |
-after_script: |
|
89 |
- - if [[ $TEST_COVERAGE == 'true' ]]; then php vendor/bin/php-coveralls -v ; fi |
|
90 |
- |
|
91 |
-notifications: |
|
92 |
- email: false |
|
93 |
- |
|
94 |
- |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,94 @@ |
1 |
+sudo: false |
|
2 |
+language: php |
|
3 |
+ |
|
4 |
+env: |
|
5 |
+ global: |
|
6 |
+ - COVERAGE_DEPS="php-coveralls/php-coveralls" |
|
7 |
+ - COMPOSER_ARGS="--no-interaction" |
|
8 |
+ |
|
9 |
+matrix: |
|
10 |
+ include: |
|
11 |
+ - php: 5.6 |
|
12 |
+ env: |
|
13 |
+ - DEPS=lowest |
|
14 |
+ - php: 5.6 |
|
15 |
+ env: |
|
16 |
+ - DEPS=latest |
|
17 |
+ - php: 7 |
|
18 |
+ env: |
|
19 |
+ - DEPS=lowest |
|
20 |
+ - php: 7 |
|
21 |
+ env: |
|
22 |
+ - DEPS=locked |
|
23 |
+ - php: 7 |
|
24 |
+ env: |
|
25 |
+ - DEPS=latest |
|
26 |
+ - php: 7.1 |
|
27 |
+ env: |
|
28 |
+ - DEPS=lowest |
|
29 |
+ - php: 7.1 |
|
30 |
+ env: |
|
31 |
+ - DEPS=locked |
|
32 |
+ - php: 7.1 |
|
33 |
+ env: |
|
34 |
+ - DEPS=latest |
|
35 |
+ - php: 7.2 |
|
36 |
+ env: |
|
37 |
+ - DEPS=lowest |
|
38 |
+ - php: 7.2 |
|
39 |
+ env: |
|
40 |
+ - DEPS=locked |
|
41 |
+ - CS_CHECK=false |
|
42 |
+ - TEST_COVERAGE=true |
|
43 |
+ - php: 7.2 |
|
44 |
+ env: |
|
45 |
+ - DEPS=latest |
|
46 |
+ - php: 7.3 |
|
47 |
+ env: |
|
48 |
+ - DEPS=lowest |
|
49 |
+ - php: 7.3 |
|
50 |
+ env: |
|
51 |
+ - DEPS=locked |
|
52 |
+ - php: 7.3 |
|
53 |
+ env: |
|
54 |
+ - DEPS=latest |
|
55 |
+ - php: 7.4 |
|
56 |
+ env: |
|
57 |
+ - DEPS=lowest |
|
58 |
+ - php: 7.4 |
|
59 |
+ env: |
|
60 |
+ - DEPS=locked |
|
61 |
+ - php: 7.4 |
|
62 |
+ env: |
|
63 |
+ - DEPS=latest |
|
64 |
+ |
|
65 |
+before_install: |
|
66 |
+ - shopt -s expand_aliases |
|
67 |
+ - alias composer="travis_retry docker-compose run --rm php composer" |
|
68 |
+ - alias php="travis_retry docker-compose run -e TRAVIS -e TRAVIS_JOB_ID --rm php php" |
|
69 |
+ - docker-compose build --build-arg PHP_VERSION=${TRAVIS_PHP_VERSION} --build-arg XDEBUG=${TEST_COVERAGE:+1} --no-cache php |
|
70 |
+ - composer --version |
|
71 |
+ - php -v |
|
72 |
+ - php -m |
|
73 |
+ |
|
74 |
+install: |
|
75 |
+ - composer install $COMPOSER_ARGS --ignore-platform-reqs |
|
76 |
+ - if [[ $LEGACY_DEPS != '' ]]; then composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi |
|
77 |
+ - if [[ $DEPS == 'latest' ]]; then composer update $COMPOSER_ARGS ; fi |
|
78 |
+ - if [[ $DEPS == 'lowest' ]]; then composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi |
|
79 |
+ - if [[ $TRAVIS_PHP_VERSION != "5.6" ]] ; then composer require --dev $COMPOSER_ARGS $ADAPTER_DEPS ; fi |
|
80 |
+ - if [[ $TEST_COVERAGE == 'true' ]]; then composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi |
|
81 |
+ - stty cols 120 && composer show |
|
82 |
+ - composer show |
|
83 |
+ |
|
84 |
+script: |
|
85 |
+ - if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi |
|
86 |
+ - if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi |
|
87 |
+ |
|
88 |
+after_script: |
|
89 |
+ - if [[ $TEST_COVERAGE == 'true' ]]; then php vendor/bin/php-coveralls -v ; fi |
|
90 |
+ |
|
91 |
+notifications: |
|
92 |
+ email: false |
|
93 |
+ |
|
94 |
+ |
1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,94 +0,0 @@ |
1 |
-sudo: false |
|
2 |
-language: php |
|
3 |
- |
|
4 |
-env: |
|
5 |
- global: |
|
6 |
- - COVERAGE_DEPS="php-coveralls/php-coveralls" |
|
7 |
- - COMPOSER_ARGS="--no-interaction" |
|
8 |
- |
|
9 |
-matrix: |
|
10 |
- include: |
|
11 |
- - php: 5.6 |
|
12 |
- env: |
|
13 |
- - DEPS=lowest |
|
14 |
- - php: 5.6 |
|
15 |
- env: |
|
16 |
- - DEPS=latest |
|
17 |
- - php: 7 |
|
18 |
- env: |
|
19 |
- - DEPS=lowest |
|
20 |
- - php: 7 |
|
21 |
- env: |
|
22 |
- - DEPS=locked |
|
23 |
- - php: 7 |
|
24 |
- env: |
|
25 |
- - DEPS=latest |
|
26 |
- - php: 7.1 |
|
27 |
- env: |
|
28 |
- - DEPS=lowest |
|
29 |
- - php: 7.1 |
|
30 |
- env: |
|
31 |
- - DEPS=locked |
|
32 |
- - php: 7.1 |
|
33 |
- env: |
|
34 |
- - DEPS=latest |
|
35 |
- - php: 7.2 |
|
36 |
- env: |
|
37 |
- - DEPS=lowest |
|
38 |
- - php: 7.2 |
|
39 |
- env: |
|
40 |
- - DEPS=locked |
|
41 |
- - CS_CHECK=false |
|
42 |
- - TEST_COVERAGE=true |
|
43 |
- - php: 7.2 |
|
44 |
- env: |
|
45 |
- - DEPS=latest |
|
46 |
- - php: 7.3 |
|
47 |
- env: |
|
48 |
- - DEPS=lowest |
|
49 |
- - php: 7.3 |
|
50 |
- env: |
|
51 |
- - DEPS=locked |
|
52 |
- - php: 7.3 |
|
53 |
- env: |
|
54 |
- - DEPS=latest |
|
55 |
- - php: 7.4 |
|
56 |
- env: |
|
57 |
- - DEPS=lowest |
|
58 |
- - php: 7.4 |
|
59 |
- env: |
|
60 |
- - DEPS=locked |
|
61 |
- - php: 7.4 |
|
62 |
- env: |
|
63 |
- - DEPS=latest |
|
64 |
- |
|
65 |
-before_install: |
|
66 |
- - shopt -s expand_aliases |
|
67 |
- - alias composer="travis_retry docker-compose run --rm php composer" |
|
68 |
- - alias php="travis_retry docker-compose run -e TRAVIS -e TRAVIS_JOB_ID --rm php php" |
|
69 |
- - docker-compose build --build-arg PHP_VERSION=${TRAVIS_PHP_VERSION} --build-arg XDEBUG=${TEST_COVERAGE:+1} --no-cache php |
|
70 |
- - composer --version |
|
71 |
- - php -v |
|
72 |
- - php -m |
|
73 |
- |
|
74 |
-install: |
|
75 |
- - composer install $COMPOSER_ARGS --ignore-platform-reqs |
|
76 |
- - if [[ $LEGACY_DEPS != '' ]]; then composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi |
|
77 |
- - if [[ $DEPS == 'latest' ]]; then composer update $COMPOSER_ARGS ; fi |
|
78 |
- - if [[ $DEPS == 'lowest' ]]; then composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi |
|
79 |
- - if [[ $TRAVIS_PHP_VERSION != "5.6" ]] ; then composer require --dev $COMPOSER_ARGS $ADAPTER_DEPS ; fi |
|
80 |
- - if [[ $TEST_COVERAGE == 'true' ]]; then composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi |
|
81 |
- - stty cols 120 && composer show |
|
82 |
- - composer show |
|
83 |
- |
|
84 |
-script: |
|
85 |
- - if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi |
|
86 |
- - if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi |
|
87 |
- |
|
88 |
-after_script: |
|
89 |
- - if [[ $TEST_COVERAGE == 'true' ]]; then php vendor/bin/php-coveralls -v ; fi |
|
90 |
- |
|
91 |
-notifications: |
|
92 |
- email: false |
|
93 |
- |
|
94 |
- |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,94 @@ |
1 |
+sudo: false |
|
2 |
+language: php |
|
3 |
+ |
|
4 |
+env: |
|
5 |
+ global: |
|
6 |
+ - COVERAGE_DEPS="php-coveralls/php-coveralls" |
|
7 |
+ - COMPOSER_ARGS="--no-interaction" |
|
8 |
+ |
|
9 |
+matrix: |
|
10 |
+ include: |
|
11 |
+ - php: 5.6 |
|
12 |
+ env: |
|
13 |
+ - DEPS=lowest |
|
14 |
+ - php: 5.6 |
|
15 |
+ env: |
|
16 |
+ - DEPS=latest |
|
17 |
+ - php: 7 |
|
18 |
+ env: |
|
19 |
+ - DEPS=lowest |
|
20 |
+ - php: 7 |
|
21 |
+ env: |
|
22 |
+ - DEPS=locked |
|
23 |
+ - php: 7 |
|
24 |
+ env: |
|
25 |
+ - DEPS=latest |
|
26 |
+ - php: 7.1 |
|
27 |
+ env: |
|
28 |
+ - DEPS=lowest |
|
29 |
+ - php: 7.1 |
|
30 |
+ env: |
|
31 |
+ - DEPS=locked |
|
32 |
+ - php: 7.1 |
|
33 |
+ env: |
|
34 |
+ - DEPS=latest |
|
35 |
+ - php: 7.2 |
|
36 |
+ env: |
|
37 |
+ - DEPS=lowest |
|
38 |
+ - php: 7.2 |
|
39 |
+ env: |
|
40 |
+ - DEPS=locked |
|
41 |
+ - CS_CHECK=false |
|
42 |
+ - TEST_COVERAGE=true |
|
43 |
+ - php: 7.2 |
|
44 |
+ env: |
|
45 |
+ - DEPS=latest |
|
46 |
+ - php: 7.3 |
|
47 |
+ env: |
|
48 |
+ - DEPS=lowest |
|
49 |
+ - php: 7.3 |
|
50 |
+ env: |
|
51 |
+ - DEPS=locked |
|
52 |
+ - php: 7.3 |
|
53 |
+ env: |
|
54 |
+ - DEPS=latest |
|
55 |
+ - php: 7.4 |
|
56 |
+ env: |
|
57 |
+ - DEPS=lowest |
|
58 |
+ - php: 7.4 |
|
59 |
+ env: |
|
60 |
+ - DEPS=locked |
|
61 |
+ - php: 7.4 |
|
62 |
+ env: |
|
63 |
+ - DEPS=latest |
|
64 |
+ |
|
65 |
+before_install: |
|
66 |
+ - shopt -s expand_aliases |
|
67 |
+ - alias composer="travis_retry docker-compose run --rm php composer" |
|
68 |
+ - alias php="travis_retry docker-compose run -e TRAVIS -e TRAVIS_JOB_ID --rm php php" |
|
69 |
+ - docker-compose build --build-arg PHP_VERSION=${TRAVIS_PHP_VERSION} --build-arg XDEBUG=${TEST_COVERAGE:+1} --no-cache php |
|
70 |
+ - composer --version |
|
71 |
+ - php -v |
|
72 |
+ - php -m |
|
73 |
+ |
|
74 |
+install: |
|
75 |
+ - composer install $COMPOSER_ARGS --ignore-platform-reqs |
|
76 |
+ - if [[ $LEGACY_DEPS != '' ]]; then composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi |
|
77 |
+ - if [[ $DEPS == 'latest' ]]; then composer update $COMPOSER_ARGS ; fi |
|
78 |
+ - if [[ $DEPS == 'lowest' ]]; then composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi |
|
79 |
+ - if [[ $TRAVIS_PHP_VERSION != "5.6" ]] ; then composer require --dev $COMPOSER_ARGS $ADAPTER_DEPS ; fi |
|
80 |
+ - if [[ $TEST_COVERAGE == 'true' ]]; then composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi |
|
81 |
+ - stty cols 120 && composer show |
|
82 |
+ - composer show |
|
83 |
+ |
|
84 |
+script: |
|
85 |
+ - if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi |
|
86 |
+ - if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi |
|
87 |
+ |
|
88 |
+after_script: |
|
89 |
+ - if [[ $TEST_COVERAGE == 'true' ]]; then php vendor/bin/php-coveralls -v ; fi |
|
90 |
+ |
|
91 |
+notifications: |
|
92 |
+ email: false |
|
93 |
+ |
|
94 |
+ |