forked from yokai-php/batch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (26 loc) · 860 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
language: php
php:
- 7.2
- 7.3
- 7.4
env:
- SYMFONY_VERSION="4.2.*"
- SYMFONY_VERSION="4.4.*"
- SYMFONY_VERSION="5.0.*"
sudo: false
cache:
directories:
- $HOME/.composer/cache
before_install:
- rm -rf composer.lock vendor/
- composer require "symfony/console:${SYMFONY_VERSION}" --no-update
- composer require "symfony/filesystem:${SYMFONY_VERSION}" --no-update
- composer require "symfony/framework-bundle:${SYMFONY_VERSION}" --no-update
- composer require "symfony/process:${SYMFONY_VERSION}" --no-update
- composer require "symfony/serializer:${SYMFONY_VERSION}" --no-update
- composer require "symfony/validator:${SYMFONY_VERSION}" --no-update
install: COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --prefer-dist --no-interaction
script:
- vendor/bin/phpunit
notifications:
email: [email protected]