-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
47 lines (38 loc) · 1005 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
dist: trusty
language: php
php:
- 8.0
- 8.1
- nightly
env:
global:
- PATH="$HOME/.composer/vendor/bin:$PATH"
matrix:
fast_finish: true
include:
- php: 8.0
env: CS_FIXER=run
- php: 8.0
env: SYMFONY_VERSION="5.4.*"
- php: 8.0
env: SYMFONY_VERSION="6.1.*"
- php: 8.1
env: SYMFONY_VERSION="6.1.*"
allow_failures:
- php: nightly
- env: SYMFONY_VERSION="6@dev"
sudo: false
cache:
directories:
- $HOME/.composer/cache
before_script:
- composer selfupdate
- composer config -g github-oauth.github.com $GITHUB_OAUTH_TOKEN
- composer global require phpunit/phpunit friendsofphp/php-cs-fixer --no-update
- composer global update --prefer-dist --no-interaction
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
- composer update --prefer-dist --no-interaction $COMPOSER_FLAGS
script:
- make test
after_success:
- php vendor/bin/coveralls -c .coveralls.yml -v