Skip to content

Commit

Permalink
Made wrapper test script for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
tedivm committed Jan 29, 2014
1 parent 7010c3d commit f4045e4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -9,4 +9,4 @@ php:
before_script: composer install --dev

script:
- phpunit --verbose --coverage-text && ./vendor/fabpot/php-cs-fixer/php-cs-fixer fix ./src --dry-run --level="all" -vv
- ./tests/runTests.sh
9 changes: 9 additions & 0 deletions tests/runTests.sh
@@ -0,0 +1,9 @@
#/usr/bin/env/sh
set -e

echo 'Running unit tests.'
phpunit --verbose --coverage-text

echo 'Testing for Coding Styling Compliance.'
echo 'All code should follow PSR standards.'
./vendor/fabpot/php-cs-fixer/php-cs-fixer fix ./src --dry-run --level="all" -vv

0 comments on commit f4045e4

Please sign in to comment.