forked from symfony/maker-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (33 loc) · 904 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
37
38
39
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
- $HOME/symfony-bridge/.phpunit
services:
- mysql
env:
global:
- PHPUNIT_FLAGS="-v"
- SYMFONY_PHPUNIT_DIR="$HOME/symfony-bridge/.phpunit"
- SYMFONY_REQUIRE='>=3.4'
matrix:
fast_finish: true
include:
- php: 7.1.33
- php: 7.3
- php: 7.3
env: MAKER_TEST_VERSION=dev
allow_failures:
- php: 7.3
env: MAKER_TEST_VERSION=dev
before_install:
- find ~/.phpenv -name xdebug.ini -delete
- composer global require --no-progress --no-scripts --no-plugins symfony/flex dev-master
- composer update
install:
- ./vendor/bin/simple-phpunit install
script:
- composer validate --strict --no-check-lock
- ./vendor/bin/simple-phpunit $PHPUNIT_FLAGS
- ./vendor/bin/php-cs-fixer fix --dry-run --diff