2015-11-26 13:26:05 +00:00
|
|
|
# Forces new Travis-CI Infrastructure
|
|
|
|
sudo: false
|
|
|
|
|
2015-06-16 19:26:06 +00:00
|
|
|
language: php
|
|
|
|
|
2015-11-26 13:26:05 +00:00
|
|
|
env:
|
|
|
|
global:
|
2016-04-05 15:53:39 +00:00
|
|
|
- secure: DW+TBREK61G9CahBZ+3FoMD8GvsGyZHPNW0lTR0gpKmGvmjkJXWxgiB2ZlnBMIPTq3CTbV0vZa/XNHELlhjHLMUCz1aQJ+07JnNt+nVvhmpUgS1C2Nci8jpYP6hjDadOU+D4b90YclrrQDcYbeCHuoLW2kiqiuB+DXyoCWEJXls=
|
2015-11-26 13:26:05 +00:00
|
|
|
- RUN_PHPCS="no"
|
2016-04-05 15:45:24 +00:00
|
|
|
- UPDATE_CROWDIN="no"
|
2015-06-16 19:26:06 +00:00
|
|
|
|
|
|
|
matrix:
|
2015-11-26 13:26:05 +00:00
|
|
|
include:
|
|
|
|
- php: 5.3
|
|
|
|
env: RUN_PHPCS="yes"
|
|
|
|
- php: 5.4
|
|
|
|
- php: 5.5
|
|
|
|
- php: 5.6
|
2015-06-16 19:26:06 +00:00
|
|
|
- php: 7.0
|
2016-04-05 15:45:24 +00:00
|
|
|
env: UPDATE_CROWDIN="yes"
|
2015-06-16 19:26:06 +00:00
|
|
|
|
2015-06-16 19:33:51 +00:00
|
|
|
before_script:
|
2015-11-26 13:26:05 +00:00
|
|
|
# Make sure all dev dependencies are installed
|
2015-06-16 19:33:51 +00:00
|
|
|
- composer install
|
|
|
|
|
2015-06-16 19:26:06 +00:00
|
|
|
script:
|
2015-11-26 17:48:01 +00:00
|
|
|
- if [ "$RUN_PHPCS" == "yes" ]; then vendor/bin/phpcs --report=full --extensions=php -p --standard=build/phpcs/Joomla --ignore=./*tmpl/* administrator/components/com_patchtester; fi
|
2016-04-05 15:45:24 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- if [ "$UPDATE_CROWDIN" == "yes" ]; then ./travis-lang-update.sh; fi
|