Skip to content

Commit 912c849

Browse files
committed
Changed whole test suite from "build" to "test".
Changed phpunit from "test" to "unit"
1 parent 18e5019 commit 912c849

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ before_script:
1515
- git remote set-branches --add origin master
1616
- git fetch
1717
script:
18-
- composer build
18+
- composer test

build.xml

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

2727
<target name="phpunit" description="Run unit tests using PHPUnit and generates junit.xml and clover.xml">
28-
<exec command="composer test" logoutput="true" checkreturn="true" />
28+
<exec command="composer unit" logoutput="true" checkreturn="true" />
2929
</target>
3030

3131
<target name="buildTasks" description="Run the phpmd, phpcs, phploc and lint tasks.">

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,20 @@
5252
]
5353
},
5454
"scripts": {
55-
"test": "phpunit -c . tests/",
55+
"unit": "phpunit -c . tests/",
5656
"lint": "parallel-lint --exclude vendor .",
5757
"smell": "phpcs --standard=tools/codesniffer/JoindInPSR2/ruleset.xml --ignore=**/config.php,**/database.php,vendor,tools,tests/bootstrap.php --extensions=php --report-checkstyle=build/logs/checkstyle.xml --runtime-set ignore_warnings_on_exit true -p .",
5858
"security": "security-checker security:check composer.lock",
5959
"diff": [
6060
"git diff origin/master... -- > diff.txt",
6161
"diffFilter --phpunit diff.txt build/logs/clover.xml 80"
6262
],
63-
"build": [
63+
"test": [
6464
"mkdir -p build/logs",
6565
"@lint",
6666
"@smell",
6767
"@security",
68-
"@test",
68+
"@unit",
6969
"@diff"
7070
]
7171
},

0 commit comments

Comments
 (0)