From 2445f2f3399dac2f727e7c6df974d616dad9368f Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Fri, 26 Sep 2014 05:49:49 -0400 Subject: [PATCH] Added phpunit.xml Was still typing in the full command to run phpunit from time to time. Can now just run unit tests by running phpunit without any config flags --- .travis.yml | 2 +- phpunit.xml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 phpunit.xml diff --git a/.travis.yml b/.travis.yml index 7cd984b..3cf06b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,7 +39,7 @@ before_script: - phpenv rehash script: - - phpunit --stderr --colors --coverage-clover /home/travis/build/joshtronic/pickles/build/logs/clover.xml --bootstrap ./tests/bootstrap.php ./tests + - phpunit --configuration phpunit.xml --coverage-clover /home/travis/build/joshtronic/pickles/build/logs/clover.xml after_success: - php vendor/bin/coveralls --config ../.coveralls.yml -v diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..3f53858 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,13 @@ + + + + + ./tests/ + + +