]> git.madduck.net Git - etc/vim.git/blob - .travis_py37_workaround.sh

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

[#154] Handle comments between decorators properly (#166)
[etc/vim.git] / .travis_py37_workaround.sh
1 echo "The ready-made virtualenv is not the one we want. Deactivating..."
2 deactivate
3
4 echo "Installing 3.7 from deadsnakes..."
5 sudo apt-get --yes install python3.7
6
7 echo "Creating a fresh virtualenv. We can't use `ensurepip` because Debian."
8 python3.7 -m venv ~/virtualenv/python3.7-deadsnakes --without-pip
9 source ~/virtualenv/python3.7-deadsnakes/bin/activate
10
11 echo "We ensure our own pip."
12 curl -sSL https://bootstrap.pypa.io/get-pip.py | python3.7
13
14 echo
15 echo "Python version:"
16 python3.7 -c "import sys; print(sys.version)"