Merge pull request #3828 from liushuyu/master

travis: fix tx push (again)
This commit is contained in:
James Rowe 2018-06-09 15:53:19 -06:00 committed by GitHub
commit 51832ce858
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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