CI: Drop virtualenv stuff for now
@@ -28,28 +28,11 @@ env:
- SETUPTOOLS_CONSTRAINT="==30.3.0"
before_install:
- - travis_retry python -m pip install pip setuptools virtualenv
- - |
- for VENV in /tmp/build /tmp/install; do
- virtualenv --python=python $VENV
- source $VENV/bin/activate
- python --version
- python -m pip install --upgrade "pip$PIP_CONSTRAINT" "setuptools$SETUPTOOLS_CONSTRAINT"
- deactivate
- done
+ - travis_retry python -m pip install --upgrade "pip$PIP_CONSTRAINT" "setuptools$SETUPTOOLS_CONSTRAINT"
+ - pip install "flake8<3.0" flake8-putty
install:
- |
- source /tmp/build/bin/activate
- if [ "$INSTALL_TYPE" == "sdist" ]; then
- python setup.py sdist
- elif [ "$INSTALL_TYPE" == "wheel" ]; then
- python setup.py bdist_wheel
- fi
- deactivate
- - |
- source /tmp/install/bin/activate
- python --version
if [ "$INSTALL_TYPE" == "install" ]; then
python setup.py install
elif [ "$INSTALL_TYPE" == "develop" ]; then
@@ -57,8 +40,10 @@ install:
elif [ "$INSTALL_TYPE" == "pip" ]; then
pip install .
elif [ "$INSTALL_TYPE" == "sdist" ]; then
+ python setup.py sdist
pip install dist/*.tar.gz
elif [ "$INSTALL_TYPE" == "wheel" ]; then
+ python setup.py bdist_wheel
pip install dist/*.whl
fi
- |
