forked from symfony/swiftmailer-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (29 loc) · 833 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
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
- $HOME/.symfony-phpunit
env:
global:
- SYMFONY_PHPUNIT_DIR=$HOME/.symfony-phpunit
matrix:
fast_finish: true
include:
- php: 7.1
env: COMPOSER_FLAGS="--prefer-lowest" SYMFONY_DEPRECATIONS_HELPER=weak
- php: 7.0
env: SYMFONY_LTS=^2
- php: 7.1
env: SYMFONY_LTS=^3
- php: 7.2
- php: 7.3
env: DEPENDENCIES=dev
before_install:
- phpenv config-rm xdebug.ini
- if [ "$SYMFONY_LTS" != "" ]; then composer require --dev --no-update "symfony/lts:$SYMFONY_LTS"; fi
- if [ "$DEPENDENCIES" = "dev" ]; then composer config minimum-stability dev; fi;
install:
- travis_retry composer update $COMPOSER_FLAGS
- ./vendor/bin/simple-phpunit install
script: ./vendor/bin/simple-phpunit