Skip to content

Commit

Permalink
Setting up "quick" and "full" test suites
Browse files Browse the repository at this point in the history
  • Loading branch information
ehough committed Aug 22, 2013
1 parent d0d462a commit deb3a17
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -8,4 +8,4 @@ before_script:
- cp src/test/resources/travis-ci/travis-composer-config.json ~/.composer/config.json - cp src/test/resources/travis-ci/travis-composer-config.json ~/.composer/config.json
- wget http://getcomposer.org/composer.phar - wget http://getcomposer.org/composer.phar
- php composer.phar install --dev - php composer.phar install --dev
script: "phpunit -d memory_limit=1024M --verbose -c src/test/resources/phpunit.xml" script: "phpunit -d memory_limit=1024M --verbose -c src/test/resources/phpunit.xml --testsuite quick"
7 changes: 5 additions & 2 deletions src/test/resources/phpunit.xml
Expand Up @@ -8,9 +8,13 @@
processIsolation="false" processIsolation="false"
bootstrap="../../../vendor/autoload.php"> bootstrap="../../../vendor/autoload.php">
<testsuites> <testsuites>
<testsuite name="TubePress tests"> <testsuite name="quick">
<directory>../php</directory> <directory>../php</directory>
<exclude>src/test/php/classes/tubepress/test/impl/i18n/</exclude>
</testsuite> </testsuite>
<testsuite name="all">
<directory>../php</directory>
</testsuite>
</testsuites> </testsuites>
<filter> <filter>
<whitelist> <whitelist>
Expand All @@ -19,6 +23,5 @@
<file>../../main/web/php/ajaxEndpoint.php</file> <file>../../main/web/php/ajaxEndpoint.php</file>
</exclude> </exclude>
</whitelist> </whitelist>

</filter> </filter>
</phpunit> </phpunit>

0 comments on commit deb3a17

Please sign in to comment.