We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 315d024 commit 995fe81Copy full SHA for 995fe81
scripts/runtox.sh
@@ -1,3 +1,8 @@
1
#!/bin/sh
2
-pyversion="$(echo py$TRAVIS_PYTHON_VERSION | sed -e 's/pypypy/pypy/g' -e 's/-dev//g')"
3
-exec tox -e $(tox -l | grep $pyversion | tr '\n' ',')
+if [ -z "$1" ]; then
+ searchstring="$(echo py$TRAVIS_PYTHON_VERSION | sed -e 's/pypypy/pypy/g' -e 's/-dev//g')"
4
+else
5
+ searchstring="$1"
6
+fi
7
+
8
+exec tox -e $(tox -l | grep $searchstring | tr '\n' ',')
0 commit comments