Skip to content

Commit c3dec60

Browse files
committed
use phpunit bridge
1 parent 907e32e commit c3dec60

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.travis.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,24 @@ php:
55
- 7.0
66
- 7.1
77

8+
env:
9+
global:
10+
- SYMFONY_PHPUNIT_DIR=.phpunit SYMFONY_PHPUNIT_REMOVE="symfony/yaml" SYMFONY_PHPUNIT_VERSION=5.7
11+
812
matrix:
913
include:
1014
- php: hhvm
1115
dist: trusty
1216

1317
sudo: false
1418

15-
before_install: phpenv config-rm xdebug.ini || true
19+
before_install:
20+
- phpenv config-rm xdebug.ini || true
21+
- composer self-update
1622

17-
install: composer dump-autoload
23+
install: composer update --prefer-dist
1824

19-
script: phpunit
25+
script: vendor/bin/simple-phpunit
2026

2127
notifications:
2228
irc: "irc.freenode.org#symfony-cmf"

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
"require": {
1414
"php": "^5.6|^7.0"
1515
},
16+
"require-dev": {
17+
"symfony/phpunit-bridge": "^3.2"
18+
},
1619
"autoload": {
1720
"psr-4": { "Symfony\\Cmf\\Api\\Slugifier\\": "src/" }
1821
},

0 commit comments

Comments
 (0)