Merge pull request #3 from stealth35/master

Add Travis CI
This commit is contained in:
Shuhei Tanuma 2012-06-24 20:39:02 -07:00
commit 6e22f44f26
2 changed files with 19 additions and 0 deletions

10
.travis.yml Normal file
View File

@ -0,0 +1,10 @@
language: php
php:
- 5.3
- 5.4
before_script:
- cd libuv && make -s && cd ..
- phpize && ./configure && make && sudo make install
- echo "extension=uv.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

9
phpunit.xml.dist Normal file
View File

@ -0,0 +1,9 @@
<phpunit
colors="true"
>
<testsuites>
<testsuite name="PHPUnit_Extensions_PhptTestSuite">
<directory suffix=".phpt">./tests/</directory>
</testsuite>
</testsuites>
</phpunit>