31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-06-06 23:40:49 +00:00
zero-24 2015-11-26 14:26:05 +01:00
parent 9031d009cf
commit 7c240a1cb9

View File

@ -1,18 +1,25 @@
# Forces new Travis-CI Infrastructure
sudo: false
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
env:
global:
- RUN_PHPCS="no"
matrix:
allow_failures:
include:
- php: 5.3
env: RUN_PHPCS="yes"
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
before_script:
# Make sure all dev dependencies are installed
- composer install
script:
- sh -c "if [ '$TRAVIS_PHP_VERSION' != '7.0' ]; then vendor/bin/phpcs --report=full --extensions=php -p --standard=build/phpcs/Joomla --ignore=./*tmpl/* administrator/components/com_patchtester; fi"
- libraries/vendor/bin/phpunit --configuration travisci-phpunit.xml
- if [ "$RUN_PHPCS" == "yes" ]; then libraries/vendor/bin/phpcs --report=full --extensions=php -p --standard=build/phpcs/Joomla --ignore=./*tmpl/* administrator/components/com_patchtester; fi