forked from EasyCorp/EasyAdminBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (35 loc) · 1.43 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
language: php
cache:
directories:
- $HOME/.composer/cache/files
- $HOME/symfony-bridge/.phpunit
env:
- SYMFONY_PHPUNIT_DIR='$HOME/symfony-bridge/.phpunit'
jobs:
include:
-
name: 'PHP 7.2 with lowest dependencies'
php: 7.2
env:
- SYMFONY_DEPRECATIONS_HELPER: 'weak'
before_install:
- echo 'date.timezone = "Europe/Madrid"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- phpenv config-rm xdebug.ini
- composer global require --prefer-dist --no-progress --no-scripts --no-plugins symfony/flex dev-master
install:
- composer update --prefer-stable --prefer-lowest --no-interaction
- ./vendor/bin/simple-phpunit install
script:
- ./vendor/bin/simple-phpunit
-
name: 'PHP 7.4'
php: 7.4
before_install:
- echo 'date.timezone = "Europe/Madrid"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- phpenv config-rm xdebug.ini
- composer global require --prefer-dist --no-progress --no-scripts --no-plugins symfony/flex dev-master
install:
- composer update --no-interaction
- ./vendor/bin/simple-phpunit install
script:
- ./vendor/bin/simple-phpunit