Skip to content

Commit 0abd9b4

Browse files
committed
Fetch translations for travis builds
1 parent 60f2a54 commit 0abd9b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ env:
1212
- BUILD_ARCH_LIST='x86_64'
1313
- BUILD_ARCH_LIST='arm64-v8a'
1414
before_install:
15+
- pip install --user transifex-client
16+
- printf "[https://www.transifex.com]\nhostname = https://www.transifex.com\npassword = ${TRAVIS_TRANSIFEX_API}\nusername = api\n" > ~/.transifexrc
17+
- pushd app/src/main/jni/OpenXcom && tx pull -a && bin/translations_merge.sh && popd
1518
- openssl enc -d -aes-256-cbc -in private.enc -out private.7z -md sha256 -pass $TRAVIS_PRIVATE_PASS
1619
- 7z x private.7z > /dev/null
1720
- yes | ${ANDROID_HOME}/tools/bin/sdkmanager --update

0 commit comments

Comments
 (0)