-
Notifications
You must be signed in to change notification settings - Fork 21
/
.travis.yml
61 lines (50 loc) · 1.92 KB
/
.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
branches:
only:
- master
language: php
php:
- 7.4
- 8.0
- nightly
env:
global:
- PATH="$HOME/.composer/vendor/bin:$PATH"
matrix:
fast_finish: true
include:
- php: 7.4
env: COMPOSER_FLAGS="--prefer-lowest"
- php: 7.4
env: SYMFONY_VERSION=4.*
- php: 7.4
env: SYMFONY_VERSION=5.*
- php: 7.4
env: SYMFONY_VERSION=dev-master
- php: 8.0
env: SYMFONY_VERSION=4.*
- php: 8.0
env: SYMFONY_VERSION=5.*
- php: 8.0
env: SYMFONY_VERSION=dev-master
allow_failures:
- php: nightly
- env: SYMFONY_VERSION=dev-master
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
before_install:
- composer global require satooshi/php-coveralls:@stable codeclimate/php-test-reporter:@stable --no-update
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
install:
- composer global update --prefer-dist --no-interaction
- composer update --prefer-dist --no-interaction $COMPOSER_FLAGS
script:
- composer validate
- XDEBUG_MODE=coverage php vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
after_script:
- coveralls -v
- test-reporter
notifications:
slack:
secure: "oIDE7wREgXnJb32btG2G8Hz5TDny/vPL4JpkSH1r9kzMEDDgiu085+32tKsD8YUBrlTjBeFN3H6r9WtEpmkapRWCkis62M1AgKdu5ZJkjIAiVqyPH51nVB6HZBjq3XSNkzL14wXoqXZX3+XToHpaDbisnCXnsNkvTK7JiKm337tFC3iVo9MaAOxe7wwD6a3Lh4L0piRJKkhe02Gp6U7m+gCH1qga5mSAyc6L2tu5UqFWxJ+WITnC/xwL1XS7KgnHUlbu9s+u2TckdF6x+5SA9FDxiHD2o9Utt5u84f8hcGtKd33f4ZvHRYB8UmP9ke7xTUWL/K1jvjuu/TOIKFPIpmSY/WHx3Za+HJsW8CJMVUn5B0iyPgc5eT7gK75VWqR98flZMekAJN1GTW//ExanL0vJ3Cux8TW8/f45S/RLVe7wCBdWe5rU+hy5w+tFbZiZ21Lglv5lfihf9QJ/u5OdR2EtUWbKE7gGCls644rdYp2FbJd0yDyNvz6ieElWFREqUTWdck3BD6BeLhva4FvIMr5ZW4efL1+hKlk9TfJUaJgw+PvdPrP6JIILehi3PIIFgt+epzFEvYX02nS+D/iR9sGAinQdGYeoYVlBwE+jahvfAhzIY1bTv7PnPfrqpjuPaMSK1KqSzEbk+u9wmw1XciwioSlB0o4pYK+ZK/OcpvM="