add codecov.io to travis build for code-coverage stats - yay
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
27
.travis.yml
27
.travis.yml
@@ -1,10 +1,6 @@
|
||||
language: php
|
||||
|
||||
php:
|
||||
# - "5.4"
|
||||
# - "5.6"
|
||||
# - "7.0"
|
||||
# - "7.1"
|
||||
- "7.3"
|
||||
|
||||
branches:
|
||||
@@ -14,10 +10,6 @@ branches:
|
||||
|
||||
matrix:
|
||||
include:
|
||||
# - php: 5.6
|
||||
# env: deps=highest
|
||||
# - php: 5.4
|
||||
# env: deps=lowest
|
||||
- php: 7.3
|
||||
env: deps=highest
|
||||
|
||||
@@ -30,10 +22,6 @@ addons:
|
||||
apt:
|
||||
update: true
|
||||
|
||||
# build.xml includes that
|
||||
#install:
|
||||
# - composer install
|
||||
|
||||
service:
|
||||
- mysql
|
||||
|
||||
@@ -43,18 +31,13 @@ before_script:
|
||||
- mysql -u root -pfr0xl0r.TravisCI froxlor010 < install/froxlor.sql
|
||||
- mysql -u root -pfr0xl0r.TravisCI -e "CREATE USER 'froxlor010'@'localhost' IDENTIFIED BY 'fr0xl0r.TravisCI';"
|
||||
- mysql -u root -pfr0xl0r.TravisCI -e "GRANT ALL ON froxlor010.* TO 'froxlor010'@'localhost';"
|
||||
# - phpenv config-rm xdebug.ini
|
||||
|
||||
script:
|
||||
# sufficient for travis
|
||||
- ant phpunit-no-coverage
|
||||
# - ant full-build-parallel
|
||||
# -Dpdepend=$(pwd)/vendor/bin/pdepend
|
||||
# -Dphpmd=$(pwd)/vendor/bin/phpmd
|
||||
# -Dphpcpd=$(pwd)/vendor/bin/phpcpd
|
||||
# -Dphpcs=$(pwd)/vendor/bin/phpcs
|
||||
# -Dphploc=$(pwd)/vendor/bin/phploc
|
||||
# -Dphpdox=$(pwd)/vendor/bin/phpdox
|
||||
# -Dphpunit=$(pwd)/vendor/bin/phpunit
|
||||
- ant phpunit
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash) -f "build/logs/clover.xml"
|
||||
|
||||
notifications:
|
||||
irc: "irc.freenode.org#froxlor"
|
||||
|
||||
@@ -110,7 +110,6 @@ class Store
|
||||
*/
|
||||
public static function storeSettingDefaultTheme($fieldname, $fielddata, $newfieldvalue)
|
||||
{
|
||||
|
||||
// first save the setting itself
|
||||
$returnvalue = self::storeSettingField($fieldname, $fielddata, $newfieldvalue);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user