33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-11-11 15:51:02 +00:00
patchtester/.travis.yml

26 lines
976 B
YAML
Raw Normal View History

# Forces new Travis-CI Infrastructure
sudo: false
2015-06-16 19:26:06 +00:00
language: php
env:
global:
2016-04-05 15:53:39 +00:00
- secure: DW+TBREK61G9CahBZ+3FoMD8GvsGyZHPNW0lTR0gpKmGvmjkJXWxgiB2ZlnBMIPTq3CTbV0vZa/XNHELlhjHLMUCz1aQJ+07JnNt+nVvhmpUgS1C2Nci8jpYP6hjDadOU+D4b90YclrrQDcYbeCHuoLW2kiqiuB+DXyoCWEJXls=
- RUN_PHPCS="no"
- UPDATE_CROWDIN="no"
2015-06-16 19:26:06 +00:00
matrix:
include:
- php: 5.6
env: RUN_PHPCS="yes"
2015-06-16 19:26:06 +00:00
- php: 7.0
env: UPDATE_CROWDIN="yes"
2015-06-16 19:26:06 +00:00
before_script:
# Make sure all dev dependencies are installed
- composer install
2015-06-16 19:26:06 +00:00
script:
- if [[ $RUN_PHPCS == "yes" ]]; then administrator/components/com_patchtester/vendor/bin/phpcs --report=full --extensions=php -p --standard=build/phpcs/Joomla --ignore=./*tmpl/*,administrator/components/com_patchtester/vendor/* administrator/components/com_patchtester; fi
- if [[ $UPDATE_CROWDIN == "yes" && $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_BRANCH == "master" ]]; then administrator/components/com_patchtester/vendor/bin/crowdin --upload; fi