Skip to content

Commit

Permalink
Merge pull request #8 from SemanticMediaWiki/optimizeci
Browse files Browse the repository at this point in the history
Attempt to improve speed of TravisCI build result reporting
  • Loading branch information
JeroenDeDauw committed Nov 4, 2013
2 parents 5bdae84 + 5516fbd commit de14fca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .travis.test.sh → .travis.coverage.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
#! /bin/bash

cd ../phase3/tests/phpunit

if [ "$MW-$DBTYPE" == "master-mysql" ]
then
cd ../phase3/tests/phpunit
php phpunit.php --group SMWExtension -c ../../extensions/SemanticMediaWiki/phpunit.xml.dist --coverage-clover ../../extensions/SemanticMediaWiki/build/logs/clover.xml

cd ../../extensions/SemanticMediaWiki
composer require satooshi/php-coveralls:dev-master
php vendor/bin/coveralls -v
else
php phpunit.php --group SMWExtension -c ../../extensions/SemanticMediaWiki/phpunit.xml.dist
fi
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ matrix:

before_script: bash .travis.setup.sh

script: bash .travis.test.sh
script: cd ../phase3/tests/phpunit ; php phpunit.php --group SMWExtension -c ../../extensions/SemanticMediaWiki/phpunit.xml.dist

after_script: cd ../../extensions/SemanticMediaWiki ; bash .travis.coverage.sh

notifications:
irc:
Expand Down

0 comments on commit de14fca

Please sign in to comment.