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