Merge pull request #3828 from liushuyu/master
travis: fix tx push (again)
This commit is contained in:
commit
51832ce858
@ -9,7 +9,21 @@ echo -e "\e[1m\e[33mInstalling dependencies...\e[0m"
|
|||||||
apk update
|
apk update
|
||||||
apk add build-base cmake python3-dev qt5-qttools-dev qt5-qtmultimedia-dev
|
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"
|
echo -e "\e[1m\e[33mBuild tools information:\e[0m"
|
||||||
cmake --version
|
cmake --version
|
||||||
|
Loading…
Reference in New Issue
Block a user