33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-12-23 11:29:00 +00:00

Signing drone.yml (#229)

Signing drone.yml
This commit is contained in:
Hannes Papenberg 2019-10-16 09:38:28 +02:00 committed by GitHub
commit 1e671cc6c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 32 deletions

View File

@ -21,7 +21,17 @@ steps:
- name: crowdin
image: joomlaprojects/docker-images:php7.2
environment:
CROWDIN_API_KEY:
from_secret: CROWDIN_API_KEY
commands:
- echo $(date)
- ./administrator/components/com_patchtester/vendor/bin/crowdin --upload
- echo $(date)
when:
event: push
---
kind: signature
hmac: db121d6418e6f0702b311cce34d0a0dd12a4b88814138a4d1d02c1e6189e9d43
...

View File

@ -1,25 +0,0 @@
# 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.6
env: RUN_PHPCS="yes"
- php: 7.0
env: UPDATE_CROWDIN="yes"
before_script:
# Make sure all dev dependencies are installed
- composer install
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

View File

@ -9,10 +9,9 @@
"vendor-dir": "administrator/components/com_patchtester/vendor"
},
"require": {
"php": "^5.3.10|^7.0"
"php": "^7.2"
},
"require-dev": {
"php": "^5.6|^7.0",
"joomla/crowdin-sync": "dev-master",
"joomla/cms-coding-standards": "~2.0.0-alpha2@dev",
"joomla/coding-standards": "~3.0@dev",

8
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "8d399762bedfc6b5beec9b2d9b469030",
"content-hash": "ea3333f86c6c0231db3f7c0611ade016",
"packages": [],
"packages-dev": [
{
@ -1147,9 +1147,7 @@
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
"php": "^5.3.10|^7.0"
"php": "^7.2"
},
"platform-dev": {
"php": "^5.6|^7.0"
}
"platform-dev": []
}