Skip to content

Commit

Permalink
Fix (again) the generation of the ~/.transifexrc file
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Mar 31, 2016
1 parent b5a6826 commit 064cc15
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,14 @@ before_install:
- sudo -u postgres psql -q -d c2cgeoportal_test -f travis/db.sql

- |
if [ "${TX_PASS}" != "" ] ; then echo "[https://www.transifex.com]
hostname = https://www.transifex.com
username = [email protected]
password = ${TX_PASS}
token =" >> ~/.transifexrc; fi
if [ "${TX_PASS}" != "" ]
then
echo "[https://www.transifex.com]" >> ~/.transifexrc
echo "hostname = https://www.transifex.com" >> ~/.transifexrc
echo "username = [email protected]" >> ~/.transifexrc
echo "password = ${TX_PASS}" >> ~/.transifexrc
echo "token =" >> ~/.transifexrc
fi
install:
- if [ ${TRAVIS_PULL_REQUEST} != "false" ] ; then git fetch origin ${TRAVIS_BRANCH}:${TRAVIS_BRANCH}; fi
Expand Down

0 comments on commit 064cc15

Please sign in to comment.