[CI] add composer to build.xml; run PHPCompatibility check; run only phpunit in travis

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-23 10:39:27 +01:00
parent 17c6b11a1b
commit e1987af34d
4 changed files with 74 additions and 27 deletions

View File

@@ -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"