Skip to content

Commit

Permalink
Add travis-ci support
Browse files Browse the repository at this point in the history
  • Loading branch information
Bui Sy Nguyen committed Aug 24, 2015
1 parent 052ebdd commit e640b6c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ composer.phar

# phpunit itself is not needed
phpunit.phar
# local phpunit config
/phpunit.xml

composer.lock

Expand Down
24 changes: 24 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit bootstrap="tests/_bootstrap.php" colors="true">
<php>
<var name="db_dsn" value="mysql:dbname=amqp_helper_test;host=localhost"/>
<var name="db_username" value="root"/>
<var name="db_password" value=""/>
</php>

<testsuites>
<testsuite name="AMQP Helper Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./tests</directory>
</exclude>
</whitelist>
</filter>
</phpunit>

0 comments on commit e640b6c

Please sign in to comment.