-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix (again) the generation of the ~/.transifexrc file
- Loading branch information
Showing
1 changed file
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|