Updated coveralls and added some things like phpunit and configurations
This commit is contained in:
parent
5b388b85ee
commit
f76ff9d05e
|
@ -1,2 +1,2 @@
|
|||
service-name: travis-ci
|
||||
repo_token: uOWOeDamMgBgofr53RsXgvU6jhPVwv41P
|
||||
src_dir: .
|
||||
|
|
10
build.xml
10
build.xml
|
@ -1,6 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project name="bitpay/magento-plugin" default="lint">
|
||||
<target name="lint">
|
||||
<target name="clean" hidden="true">
|
||||
<delete dir="build/logs" verbose="true" />
|
||||
</target>
|
||||
|
||||
<target name="prepare" depends="clean" hidden="true">
|
||||
<mkdir dir="build/logs" />
|
||||
</target>
|
||||
|
||||
<target name="lint" depends="prepare">
|
||||
<phplint>
|
||||
<fileset dir="app/code/community/Bitpay/Bitcoins">
|
||||
<include name="**/*.php"/>
|
||||
|
|
|
@ -15,7 +15,9 @@
|
|||
"composer/installers": "~1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phing/phing": "*"
|
||||
"phing/phing": "*",
|
||||
"phpunit/phpunit": "*",
|
||||
"satooshi/php-coveralls": "*"
|
||||
},
|
||||
"config": {
|
||||
"bin-dir": "bin"
|
||||
|
@ -26,6 +28,6 @@
|
|||
}
|
||||
},
|
||||
"archive": {
|
||||
"exclude": ["build.xml"]
|
||||
"exclude": ["build.xml","build/","phpunit.xml.dist","tests/"]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0"?>
|
||||
<phpunit
|
||||
backupGlobals = "false"
|
||||
backupStaticAttributes = "false"
|
||||
colors = "true"
|
||||
convertErrorsToExceptions = "true"
|
||||
convertNoticesToExceptions = "true"
|
||||
convertWarningsToExceptions = "true"
|
||||
processIsolation = "false"
|
||||
stopOnFailure = "false"
|
||||
syntaxCheck = "false"
|
||||
>
|
||||
|
||||
<testsuites>
|
||||
<testsuite name="bitpay/magento-plugin Test Suite">
|
||||
<directory>tests/*Test.php</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<logging>
|
||||
<log type="coverage-clover" target="build/logs/coverage.xml"/>
|
||||
</logging>
|
||||
</phpunit>
|
Loading…
Reference in New Issue