Skip to content

Commit

Permalink
Fix travis transifex script
Browse files Browse the repository at this point in the history
Required installing the client and skipping any syntax errors.
  • Loading branch information
codeinthehole committed Mar 3, 2014
1 parent b2e9af8 commit 5ca1b38
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions transifex.sh
Expand Up @@ -11,13 +11,12 @@ if [ $? -eq 0 ] && [ $TRAVIS_BRANCH == master ]
then
echo "Submitting translation files to Transifex"
make messages
# write .transifexrc file
pip install "transifex-client==0.10"
# Write .transifexrc file
echo "[https://www.transifex.com]
hostname = https://www.transifex.com
password = $TRANSIFEX_PASSWORD
token =
username = oscar_bot" > ~/.transifexrc
tx push --source --translations --no-interactive
else
echo "Unsuitable branch for submitting to Transifex"
tx push --source --translations --no-interactive --skip
fi

0 comments on commit 5ca1b38

Please sign in to comment.