blob: 01db5832712ae62edd7779ae4e870367eb4aa56d [file] [log] [blame]
Gregory Smith56fceff2015-03-20 18:22:24 -07001#!/bin/sh -ex
2
Gregory P. Smithc33bdd52021-05-24 15:29:39 -07003unset PYTHONPATH
4python3 -m venv build/venv
5. build/venv/bin/activate
Gregory Smith56fceff2015-03-20 18:22:24 -07006
Gregory P. Smithc33bdd52021-05-24 15:29:39 -07007pip install --upgrade pip
8pip install tox
Gregory P. Smithd5a84792021-11-08 18:16:34 -08009# We should really do this differently, test from a `pip install .` so that
10# testing relies on the setup.cfg install_requires instead of listing it here.
11pip install psutil
Gregory P. Smithc33bdd52021-05-24 15:29:39 -070012tox -e "py3$(python -c 'import sys; print(sys.version_info.minor)')"