-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
25 lines (20 loc) · 935 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/event-dispatcher:${SYMFONY_VERSION}" --no-update; fi;
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/yaml:${SYMFONY_VERSION}" --no-update; fi;
- composer install --no-scripts --no-interaction
- composer dump-autoload -o
after_script:
- bash <(curl -s https://codecov.io/bash)
script:
- ./vendor/bin/phpunit --coverage-clover=coverage.xml