-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (25 loc) · 964 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: php
matrix:
include:
- name: "php 5.6 + sf 2"
php: "5.6"
env: [SYMFONY_VERSION="^2.0", COVERAGE=""] #phpunit/phpcov is not compatible with symfony 2 console in any version
- name: "php 7.1 + sf 2"
php: "7.1"
env: [SYMFONY_VERSION="^2.0", COVERAGE=""] #phpunit/phpcov is not compatible with symfony 2 console in any version
- name: "php 5.6 + sf 3"
php: "5.6"
env: [SYMFONY_VERSION="^3.0", COVERAGE="php-coveralls/php-coveralls phpunit/phpcov"]
- name: "php 7.1 + sf 3"
php: "7.1"
env: [SYMFONY_VERSION="^3.0", COVERAGE="php-coveralls/php-coveralls phpunit/phpcov"]
- name: "php 7.1 + sf 4"
php: "7.1"
env: [SYMFONY_VERSION="^4.0", COVERAGE="php-coveralls/php-coveralls phpunit/phpcov"]
cache: bundler
install:
- composer require symfony/symfony:${SYMFONY_VERSION}
- composer require phpunit/phpunit ${COVERAGE}
- composer install
after_success:
- travis_retry php vendor/bin/php-coveralls