mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-11-15 17:47:10 +00:00
7c240a1cb9
https://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade Based on: https://github.com/joomla/joomla-cms/blob/staging/.travis.yml
26 lines
583 B
YAML
26 lines
583 B
YAML
# Forces new Travis-CI Infrastructure
|
|
sudo: false
|
|
|
|
language: php
|
|
|
|
env:
|
|
global:
|
|
- RUN_PHPCS="no"
|
|
|
|
matrix:
|
|
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:
|
|
- 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
|