[ticket/305] Only run coveralls on PHP 5.5 and mysqli
B3P-305
This commit is contained in:
@@ -59,7 +59,7 @@ script:
|
|||||||
- ../board3/Board3-Portal/travis/run-testsuite.sh $DB $TRAVIS_PHP_VERSION
|
- ../board3/Board3-Portal/travis/run-testsuite.sh $DB $TRAVIS_PHP_VERSION
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
- php ../board3/Board3-Portal/vendor/bin/coveralls -v
|
- sh -c "if [ '$COVERALLS' != '0' ]; then ../board3/Board3-Portal/travis/run-coveralls.sh $DB $TRAVIS_PHP_VERSION; fi"
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
|||||||
17
travis/run-coveralls.sh
Normal file
17
travis/run-coveralls.sh
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# This file is part of the Board3 Portal package.
|
||||||
|
#
|
||||||
|
# @copyright (c) Board3 Group <http://www.board3.de>
|
||||||
|
# @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
|
#
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
|
DB=$1
|
||||||
|
TRAVIS_PHP_VERSION=$2
|
||||||
|
|
||||||
|
if [ "$TRAVIS_PHP_VERSION" == "5.5" -a "$DB" == "mysqli" ]
|
||||||
|
then
|
||||||
|
php ../board3/Board3-Portal/vendor/bin/coveralls -v
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user