mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-01-23 15:18:36 +00:00
Merge pull request #109 from zero-24/travis
Travis on PHP 7 and the new infrastructure
This commit is contained in:
commit
c6f100266c
22
.travis.yml
22
.travis.yml
@ -1,18 +1,24 @@
|
|||||||
|
# Forces new Travis-CI Infrastructure
|
||||||
|
sudo: false
|
||||||
|
|
||||||
language: php
|
language: php
|
||||||
|
|
||||||
php:
|
env:
|
||||||
- 5.3
|
global:
|
||||||
- 5.4
|
- RUN_PHPCS="no"
|
||||||
- 5.5
|
|
||||||
- 5.6
|
|
||||||
- 7.0
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
include:
|
||||||
|
- php: 5.3
|
||||||
|
env: RUN_PHPCS="yes"
|
||||||
|
- php: 5.4
|
||||||
|
- php: 5.5
|
||||||
|
- php: 5.6
|
||||||
- php: 7.0
|
- php: 7.0
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
# Make sure all dev dependencies are installed
|
||||||
- composer install
|
- composer install
|
||||||
|
|
||||||
script:
|
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"
|
- if [ "$RUN_PHPCS" == "yes" ]; then vendor/bin/phpcs --report=full --extensions=php -p --standard=build/phpcs/Joomla --ignore=./*tmpl/* administrator/components/com_patchtester; fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user