travis: fix Transifex upload

This commit is contained in:
liushuyu 2018-04-06 00:29:20 -06:00
parent 575099fcfa
commit 9921286f3b
No known key found for this signature in database
GPG key ID: 23D1CE4534419437
5 changed files with 31 additions and 21 deletions

View file

@ -1,6 +1,4 @@
#!/bin/bash -ex
mkdir build && cd build
cmake .. -DENABLE_QT_TRANSLATION=ON -DGENERATE_QT_TRANSLATION=ON -DCMAKE_BUILD_TYPE=Release
make translation
#!/bin/bash -e
echo "+docker run -e TRANSIFEX_API_TOKEN=[REDACTED] -v $(pwd):/citra alpine /bin/sh -e /citra/.travis/transifex/docker.sh"
docker run -e TRANSIFEX_API_TOKEN="${TRANSIFEX_API_TOKEN}" -v "$(pwd)":/citra alpine /bin/sh -e /citra/.travis/transifex/docker.sh