Skip to content

Commit

Permalink
Use PHPUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
stealth35 committed Jun 25, 2012
1 parent f22c40d commit d4def1a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 29 deletions.
18 changes: 2 additions & 16 deletions .travis.yml
Expand Up @@ -5,20 +5,6 @@ php:
- 5.3
- 5.4

notifications:
email:
recipients:
- julien.salleyron@gmail.com
on_success: change # [always|never|change] default: change
on_failure: always # [always|never|change] default: always

env:
- NO_INTERACTION=1 REPORT_EXIT_STATUS=1

before_script:
- ./travis/compile.sh


# Run PHPs run-tests.php
script: TEST_PHP_EXECUTABLE=`php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||" | sed -e "s|etc/php.ini|bin/php|"`; export TEST_PHP_EXECUTABLE ; php run-tests.php -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --show-out

- phpize && ./configure && make && sudo make install
- echo "extension=AOP.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
11 changes: 11 additions & 0 deletions phpunit.xml.dist
@@ -0,0 +1,11 @@
<phpunit
backupGlobals="false"
colors="true"
processIsolation="true"
>
<testsuites>
<testsuite name="PHP AOP">
<directory suffix=".phpt">./tests/</directory>
</testsuite>
</testsuites>
</phpunit>
13 changes: 0 additions & 13 deletions travis/compile.sh

This file was deleted.

0 comments on commit d4def1a

Please sign in to comment.