Skip to content

Commit 5c0c2f0

Browse files
author
Vincent Langlet
committed
🐛 Fix circle tests
1 parent 06abc97 commit 5c0c2f0

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

build.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,3 @@ composer.path = ${basedir}/composer.phar
55
#PHP Code Sniffer
66
phpcs.dir = ${basedir}/vendor/squizlabs/php_codesniffer
77
phpcs.symlink.path = vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Symfony3Custom
8-
9-
# PHP Unit
10-
phpunit.executable = vendor/phpunit/phpunit/phpunit

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</target>
2727

2828
<target name="phpunit" depends="symlink-this-coding-standard" description="Run unit tests with PHPUnit">
29-
<exec executable="${phpunit.executable}" failonerror="true" >
29+
<exec executable="phpunit" failonerror="true" >
3030
<arg value="--verbose" />
3131
<arg value="--filter=Symfony3Custom_*" />
3232
<arg value="${phpcs.dir}/tests/AllTests.php" />

circle.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@ machine:
55
version: 7.1.0
66

77
test:
8+
pre:
9+
- composer global require "phpunit/phpunit=5.7.*"
10+
811
override:
912
- ant test

composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
}
2626
},
2727
"require": {
28-
"squizlabs/php_codesniffer": "~2.0"
29-
},
30-
"require-dev": {
31-
"phpunit/phpunit": "^5.5"
28+
"squizlabs/php_codesniffer": "2.x-dev"
3229
}
3330
}

0 commit comments

Comments
 (0)