Skip to content

Commit d9cd1a1

Browse files
author
Michael Babker
committed
Use new script for syncing Crowdin
1 parent a0a250c commit d9cd1a1

File tree

6 files changed

+856
-16
lines changed

6 files changed

+856
-16
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ before_script:
2424
- composer install
2525

2626
script:
27-
- if [ "$RUN_PHPCS" == "yes" ]; then vendor/bin/phpcs --report=full --extensions=php -p --standard=build/phpcs/Joomla --ignore=./*tmpl/* administrator/components/com_patchtester; fi
27+
- if [[ $RUN_PHPCS == "yes" ]]; then vendor/bin/phpcs --report=full --extensions=php -p --standard=build/phpcs/Joomla --ignore=./*tmpl/* administrator/components/com_patchtester; fi
2828

2929
after_success:
30-
- if [ "$UPDATE_CROWDIN" == "yes" ]; then ./travis-lang-update.sh; fi
30+
- if [[ $UPDATE_CROWDIN == "yes" && $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_BRANCH == "master" ]]; then vendor/bin/crowdin --upload; fi

administrator/components/com_patchtester/PatchTester/Model/PullModel.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ class PullModel extends \JModelDatabase
5757
'jorobo.dist.ini',
5858
'manifest.xml',
5959
'crowdin.yaml',
60-
'travis-lang-update.sh',
6160
);
6261

6362
/**

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"php": ">=5.3.10"
1010
},
1111
"require-dev": {
12+
"joomla/crowdin-sync": "dev-master",
1213
"squizlabs/php_codesniffer": "~1.5"
1314
}
1415
}

0 commit comments

Comments
 (0)