? Success

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
5 May 2014

This allows us to use the latest and greatest version of PHPUnit - currently we're on 4.0.17 - the limit now for pear. But this will put us on 4.1.0

See https://github.com/sebastianbergmann/phpunit/wiki/End-of-Life-for-PEAR-Installation-Method

avatar wilsonge wilsonge - open - 5 May 2014
avatar piotr-cz
piotr-cz - comment - 5 May 2014

Is it necessary to download phpunit's phar file for every job? According to travis docs, we should be fine with just

script: 
  - phpunit --configuration travisci-phpunit.xml
avatar mbabker
mbabker - comment - 5 May 2014

Travis has PHPUnit installed via PEAR which is throwing a nag screen right now (see https://travis-ci.org/joomla/joomla-cms/jobs/24479895).

avatar piotr-cz
piotr-cz - comment - 5 May 2014

Ah, I see.
What about letting know Travis guys about phpunit pear method depreciation?

avatar wilsonge
wilsonge - comment - 5 May 2014

PHPUnit with travis doesn't have dbUnit - which we still need to install - we're installing that via pear in the travis.yml (see the PR)

The phar file contains everything - which is why it does both jobs in one

avatar piotr-cz
piotr-cz - comment - 7 May 2014

Travis now uses PHPUnit PHAR installation, see travis-ci/travis-ci#2223.
I see since this Monday tests are green again.

avatar wilsonge
wilsonge - comment - 7 May 2014

Aww awesome :) Closing this in favour of #3570 which removes the pear installation of dbunit so we just use the travis version

avatar wilsonge wilsonge - change - 7 May 2014
The description was changed
Description <p>This allows us to use the latest and greatest version of PHPUnit - currently we're on 4.0.17 - the limit now for pear. But this will put us on 4.1.0</p> <p>See <a href="https://github.com/sebastianbergmann/phpunit/wiki/End-of-Life-for-PEAR-Installation-Method">https://github.com/sebastianbergmann/phpunit/wiki/End-of-Life-for-PEAR-Installation-Method</a></p>
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-05-07 09:53:00
Labels Added: ? ?
avatar wilsonge wilsonge - close - 7 May 2014
avatar wilsonge wilsonge - close - 7 May 2014
avatar wilsonge wilsonge - head_ref_deleted - 7 May 2014
avatar wilsonge
wilsonge - comment - 7 May 2014

Yeah the tests are green because there was still an update from PHPUnit 3.7 to 4.0 - and we had a bug in JRoute which meant all travis tests that utilized JRoute failed - I had that fixed up on Monday

Add a Comment

Login with GitHub to post a comment