-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
25 lines (20 loc) · 942 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
language: php
php:
- "7.1"
- "7.3"
env:
- SYMFONY_VERSION=3.4.*
- SYMFONY_VERSION=4.3.*
before_script:
- composer self-update
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/dependency-injection:${SYMFONY_VERSION}" --no-update; fi;
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/config:${SYMFONY_VERSION}" --no-update; fi;
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/http-kernel:${SYMFONY_VERSION}" --no-update; fi;
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/security:${SYMFONY_VERSION}" --no-update; fi;
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/event-dispatcher:${SYMFONY_VERSION}" --no-update; fi;
- composer install --no-scripts --no-interaction --dev
- composer dump-autoload -o
after_script:
- php vendor/bin/coveralls -v
script:
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml