We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 161a7d8 commit 96f54c4Copy full SHA for 96f54c4
test-all-python.log
test-all-python.py
test-all-python.sh
@@ -0,0 +1,24 @@
1
+#!/bin/sh
2
+
3
+TARGETS="3.5.10 3.6.12 3.7.9 3.8.1 3.9.0 pypy2.7-7.3.1 pypy3.5-7.0.0 pypy3.6-7.3.1"
4
+DIR=$(dirname "$(readlink -f "$0")")
5
6
+_pyenv=$(command -v pyenv)
7
+[ -z "$_pyenv" ] && { echo "pyenv is missing on your system."; exit 1; }
8
9
+_tox=$(command -v tox)
10
+[ -z "$_tox" ] && { echo "tox is missing on your system."; exit 1; }
11
12
+cd "$DIR"
13
14
+echo "Installing (if needed) Python versions: $TARGETS"
15
+for version in $TARGETS ; do
16
+ $_pyenv install --skip-existing $version
17
+done
18
19
+echo "Enabling Python versions from pyenv..."
20
+$_pyenv local $TARGETS
21
22
+echo "Running tox..."
23
+$_tox
24
0 commit comments