Send updated source files to Transifex automatically after success

This commit is contained in:
Bryan Housel
2017-06-11 00:59:47 -04:00
parent a7390fd21d
commit 49d724e4f4

View File

@@ -3,4 +3,11 @@ node_js:
- "4"
- "6"
- "7"
sudo: false
sudo: required
after_success:
- pip install virtualenv
- virtualenv ~/env
- source ~/env/bin/activate
- pip install transifex-client
- sudo echo $'[https://www.transifex.com]\nhostname = https://www.transifex.com\nusername = '"$TRANSIFEX_USER"$'\npassword = '"$TRANSIFEX_PASSWORD"$'\n' > ~/.transifexrc
- tx push -s