Browse files

Adding shell script to run tests

It iterates over tested components and runs phpunit for each of them
  • Loading branch information...
Ocramius committed Apr 3, 2012
1 parent 052811e commit 65b15ca06569c774b22e1f40c8ef70911f8cb253
Showing with 8 additions and 0 deletions.
  1. +8 −0 .travis/
@@ -0,0 +1,8 @@
+travisdir=$(dirname $(readlink /proc/$$/fd/255))
+testedcomponents=(`cat "$travisdir/tested-components"`)
+for tested in "${testedcomponents[@]}"
+ do phpunit -c $testdir/phpunit.xml $testdir/$tested

0 comments on commit 65b15ca

Please sign in to comment.