Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'code-coverage-coveralls'

  • Loading branch information...
commit e5ea4553470299b6380b70d151be9e7f86920f07 2 parents 0a201a5 + 67ce32c
@kasperg kasperg authored
Showing with 22 additions and 0 deletions.
  1. +11 −0 .travis.yml
  2. +1 −0  README.md
  3. +6 −0 composer.json
  4. +4 −0 phpunit.xml.dist
View
11 .travis.yml
@@ -2,3 +2,14 @@ language: php
php:
- 5.3
- 5.4
+
+before_script:
+ - curl -s http://getcomposer.org/installer | php
+ - php composer.phar install --dev --no-interaction
+
+script:
+ - mkdir -p build/logs
+ - php vendor/bin/phpunit -c phpunit.xml.dist
+
+after_script:
+ - php vendor/bin/coveralls
View
1  README.md
@@ -1,5 +1,6 @@
# wsdl2phpgenerator
[![Build Status](https://travis-ci.org/reload/wsdl2phpgenerator.png?branch=master)](https://travis-ci.org/reload/wsdl2phpgenerator)
+[![Coverage Status](https://coveralls.io/repos/reload/wsdl2phpgenerator/badge.png?branch=code-coverage-coveralls)](https://coveralls.io/r/reload/wsdl2phpgenerator?branch=code-coverage-coveralls)
Simple WSDL to PHP classes converter. Takes a WSDL file and outputs class files ready to use.
View
6 composer.json
@@ -0,0 +1,6 @@
+{
+ "require-dev": {
+ "phpunit/phpunit": "3.7.*",
+ "satooshi/php-coveralls": "dev-master"
+ }
+}
View
4 phpunit.xml.dist
@@ -27,4 +27,8 @@
</testsuite>
</testsuites>
+ <logging>
+ <log type="coverage-clover" target="build/logs/clover.xml"/>
+ </logging>
+
</phpunit>
Please sign in to comment.
Something went wrong with that request. Please try again.