Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Made wrapper test script for travis

  • Loading branch information...
commit f4045e4dd3670f84cd40286e6c70ddaec6bc2d1c 1 parent 7010c3d
@tedivm tedivm authored
Showing with 10 additions and 1 deletion.
  1. +1 −1  .travis.yml
  2. +9 −0 tests/runTests.sh
View
2  .travis.yml
@@ -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
View
9 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
Please sign in to comment.
Something went wrong with that request. Please try again.