diff --git a/.travis.yml b/.travis.yml index 7bb534a1..ee5429c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,8 +30,9 @@ addons: apt: update: true -install: - - composer install +# build.xml includes that +#install: +# - composer install service: - mysql @@ -44,14 +45,16 @@ before_script: - mysql -u root -pfr0xl0r.TravisCI -e "GRANT ALL ON froxlor010.* TO 'froxlor010'@'localhost';" script: - - 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 +# 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 notifications: irc: "irc.freenode.org#froxlor" diff --git a/build.xml b/build.xml index 2ecf5ddc..291013db 100644 --- a/build.xml +++ b/build.xml @@ -2,29 +2,29 @@ - - - - - - - - + + + + + + + + @@ -38,6 +38,7 @@ + @@ -59,9 +60,19 @@ + + + + + + + + + @@ -161,7 +172,8 @@ description="Find coding standard violations using PHP_CodeSniffer and log result in XML format. Intended for usage within a continuous integration environment."> - + @@ -171,6 +183,29 @@ + + + + + + + + + + + + + + + + @@ -191,7 +226,7 @@ - @@ -205,7 +240,7 @@ @@ -220,7 +255,7 @@ diff --git a/composer.json b/composer.json index 441f13f2..315d4604 100644 --- a/composer.json +++ b/composer.json @@ -71,5 +71,9 @@ "lib/Froxlor" ] } + }, + "scripts": { + "post-install-cmd": "if [ -f ./vendor/bin/phpcs ]; then \"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility ; fi", + "post-update-cmd" : "if [ -f ./vendor/bin/phpcs ]; then \"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility ; fi" } } diff --git a/phpdox.xml b/phpdox.xml index 2dceb6dc..adaca1f6 100644 --- a/phpdox.xml +++ b/phpdox.xml @@ -14,9 +14,14 @@ - + + + + + +