33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-12-23 11:29:00 +00:00
patchtester/.travis.yml
2016-04-05 11:53:39 -04:00

31 lines
835 B
YAML

# Forces new Travis-CI Infrastructure
sudo: false
language: php
env:
global:
- secure: DW+TBREK61G9CahBZ+3FoMD8GvsGyZHPNW0lTR0gpKmGvmjkJXWxgiB2ZlnBMIPTq3CTbV0vZa/XNHELlhjHLMUCz1aQJ+07JnNt+nVvhmpUgS1C2Nci8jpYP6hjDadOU+D4b90YclrrQDcYbeCHuoLW2kiqiuB+DXyoCWEJXls=
- RUN_PHPCS="no"
- UPDATE_CROWDIN="no"
matrix:
include:
- php: 5.3
env: RUN_PHPCS="yes"
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
env: UPDATE_CROWDIN="yes"
before_script:
# Make sure all dev dependencies are installed
- composer install
script:
- if [ "$RUN_PHPCS" == "yes" ]; then vendor/bin/phpcs --report=full --extensions=php -p --standard=build/phpcs/Joomla --ignore=./*tmpl/* administrator/components/com_patchtester; fi
after_success:
- if [ "$UPDATE_CROWDIN" == "yes" ]; then ./travis-lang-update.sh; fi