Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

Travis CI failing for Q2A v18, issue with php 5.3

+2 votes
71 views
asked Jun 15 in Q2A Core by ProThoughts
@Scott, I created repo for my testing, copied v18 from q2a branch and upload in my repo but Travis CI is failing for php 5.3. Could you please look into this and let me know what is issue.

I'm planning to add all tested plugins to this repo so that they will be automatically checked.

https://github.com/ProThoughts/q2a-v18

Travis CI link

https://travis-ci.org/ProThoughts/q2a-v18

1 Answer

+3 votes
answered Jun 15 by Scott
selected Jun 15 by ProThoughts
 
Best answer

Looks like the latest version of PHP Code Sniffer only works on PHP 5.4+. You should be able to work around that by changing line 19 in .travis.yml to use a different URL:

  - curl -L -o phpcs.phar https://github.com/squizlabs/PHP_CodeSniffer/releases/download/2.9.1/phpcs.phar

Let me know if that works.

commented Jun 15 by ProThoughts
It is working, thanks!
...