2012-03-17 13:18:16 +01:00
|
|
|
language: php
|
2018-12-26 07:08:01 +01:00
|
|
|
dist: xenial
|
2015-09-14 15:26:42 +02:00
|
|
|
|
2020-08-05 16:27:47 +02:00
|
|
|
before_install: composer self-update --2
|
2016-02-15 23:07:36 +01:00
|
|
|
|
2020-08-05 16:27:47 +02:00
|
|
|
install: composer update --no-progress --prefer-dist
|
2015-09-16 15:00:44 +02:00
|
|
|
|
2014-01-20 12:20:54 +01:00
|
|
|
matrix:
|
2020-08-05 16:27:47 +02:00
|
|
|
include:
|
|
|
|
- name: PHP 7.0 Unit Tests
|
|
|
|
php: 7.0
|
|
|
|
install:
|
|
|
|
- composer require php-coveralls/php-coveralls:^2.2 --dev --no-update
|
|
|
|
- composer update --no-progress --prefer-dist
|
|
|
|
script: vendor/bin/phpunit --coverage-clover build/logs/clover.xml
|
|
|
|
after_success: php vendor/bin/coveralls
|
|
|
|
- name: PHP 7.1 Unit Tests
|
|
|
|
php: 7.1
|
|
|
|
- name: PHP 7.2 Unit Tests
|
|
|
|
php: 7.2
|
|
|
|
- name: PHP 7.3 Unit Tests
|
|
|
|
php: 7.3
|
|
|
|
- name: PHP 7.4 Unit Tests
|
|
|
|
php: 7.4
|
|
|
|
- name: PHP 8.0 Unit Tests
|
|
|
|
php: nightly
|
|
|
|
install:
|
|
|
|
- composer update --ignore-platform-req=php --no-progress --prefer-dist
|
2020-08-09 15:51:40 +02:00
|
|
|
- name: PHP 7.3 Code on PHP 8.0 Integration Tests
|
|
|
|
php: nightly
|
|
|
|
install:
|
|
|
|
- composer update --ignore-platform-req=php --no-progress --prefer-dist
|
2020-08-05 16:27:47 +02:00
|
|
|
script:
|
2020-08-09 15:51:40 +02:00
|
|
|
- test_old/run-php-src.sh 7.3.21
|
|
|
|
- name: PHP 8.0 Code on PHP 7.0 Integration Tests
|
|
|
|
php: 7.0
|
2020-08-05 16:27:47 +02:00
|
|
|
script:
|
2020-09-19 15:27:27 +02:00
|
|
|
- test_old/run-php-src.sh 8.0.0beta4
|
2015-09-14 15:26:42 +02:00
|
|
|
allow_failures:
|
2020-08-09 15:51:40 +02:00
|
|
|
- name: PHP 8.0 Code on PHP 7.0 Integration Tests
|
2014-01-20 12:20:54 +01:00
|
|
|
fast_finish: true
|
2015-09-20 15:17:42 +02:00
|
|
|
|
2020-08-05 16:27:47 +02:00
|
|
|
script: vendor/bin/phpunit
|