travis: fix tx push (again)

This commit is contained in:
liushuyu 2018-06-09 14:19:15 -06:00
parent cf3ea85397
commit e206f6c202
No known key found for this signature in database
GPG key ID: 23D1CE4534419437

View file

@ -9,7 +9,21 @@ echo -e "\e[1m\e[33mInstalling dependencies...\e[0m"
apk update
apk add build-base cmake python3-dev qt5-qttools-dev qt5-qtmultimedia-dev
pip3 install transifex-client
pip3 install --upgrade pip transifex-client
cat << 'EOF' > /usr/bin/tx
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from txclib.cmdline import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
EOF
echo -e "\e[1m\e[33mBuild tools information:\e[0m"
cmake --version