forked from Sylius/SyliusMailerBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (35 loc) · 1.02 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
language: php
php:
- 7.2
- 7.3
env:
- SYMFONY_VERSION=3.4.*
- SYMFONY_VERSION=4.3.*
- SYMFONY_VERSION=4.4.*
cache:
directories:
- ~/.composer/cache/files
before_install:
- phpenv config-rm xdebug.ini || true
install:
- |
composer require \
symfony/config:${SYMFONY_VERSION} \
symfony/dependency-injection:${SYMFONY_VERSION} \
symfony/framework-bundle:${SYMFONY_VERSION} \
symfony/http-kernel:${SYMFONY_VERSION} \
--no-update --no-scripts
- |
composer require \
symfony/console:${SYMFONY_VERSION} \
symfony/twig-bundle:${SYMFONY_VERSION} \
--no-update --no-scripts
- composer update --prefer-dist
- (cd src/Component && composer update --prefer-dist)
script:
- composer validate --strict
- (cd src/Component && composer validate --strict)
- composer analyse
- vendor/bin/phpspec run
- (cd src/Component && vendor/bin/phpspec run)
- vendor/bin/phpunit