diff --git a/.travis.yml b/.travis.yml index 2281541f7f..990ed14863 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,9 @@ php: - "5.4" - "5.3" - hhvm + +sudo: false + env: matrix: - PHPUNIT_ARGS="--exclude-group selenium" @@ -20,8 +23,12 @@ env: - TESTSUITE_PASSWORD=root - TESTSUITE_SELENIUM_COVERAGE=http://127.0.0.1:8000/phpunit_coverage.php before_script: + - export PATH=~/.composer/vendor/bin/:$PATH - mysql -uroot -e "SET PASSWORD = PASSWORD('$TESTSUITE_PASSWORD')" ; - set -e ; if [[ -z "$LINT" ]] ; then + + composer install --dev --no-interaction ; + if [[ $TRAVIS_PHP_VERSION != "hhvm" ]] ; then git clone --depth=1 git://github.com/zenovich/runkit.git ; @@ -34,10 +41,6 @@ before_script: phpenv config-add test/travis.php.ini ; - pear channel-discover pear.phpunit.de ; - pear install phpunit/PHPUnit_Selenium ; - - composer install --dev --no-interaction ; fi ; diff --git a/build.xml b/build.xml index 1f42fce3d4..cbd3e2827d 100644 --- a/build.xml +++ b/build.xml @@ -24,19 +24,19 @@ - + - + - + @@ -55,7 +55,7 @@ @@ -66,6 +66,7 @@ --exclude test --exclude PMAStandard --exclude build + --exclude vendor --exclude libraries/tcpdf --exclude libraries/php-gettext --exclude libraries/bfShapeFiles @@ -82,6 +83,7 @@ --exclude test --exclude PMAStandard --exclude build + --exclude vendor --exclude libraries/tcpdf --exclude libraries/php-gettext --exclude libraries/bfShapeFiles @@ -95,7 +97,7 @@ =5.3.0" }, "require-dev": { - "satooshi/php-coveralls": ">=0.6" + "satooshi/php-coveralls": ">=0.6", + "phpunit/phpunit": "<4.2", + "phpunit/phpunit-selenium": ">=1.2" } }