Skip to content

Commit

Permalink
Upgrade virtualenv, tox when setting up Appveyor (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Jan 4, 2019
1 parent 054dbd1 commit a1511d1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
9 changes: 3 additions & 6 deletions appveyor.yml
Expand Up @@ -26,17 +26,14 @@ install:
# Setup Python test tools
- "SET STATIC_DEPS=true"
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "python -m pip install -U pip"
- "python -m pip install -U setuptools"
- "python -m pip install virtualenv"
- "python -m pip install tox"
- "python -m pip install codecov"
- "python -m pip install -U pip setuptools wheel"
- "python -m pip install -U virtualenv tox codecov"

test_script:
- pip --version
- virtualenv --version
- tox --version
- python -m tox
- tox

after_test:
- if not ("%TOXENV%" == "lint") if not ("%TOXENV%" == "documents") codecov
Expand Down
18 changes: 9 additions & 9 deletions tox.ini
Expand Up @@ -3,29 +3,29 @@ envlist =
{py27,py34,py35,py36,py37,py38}, lint, documents

[testenv]
passenv= *
deps=
passenv = *
deps =
-rrequirements/tests.txt
commands=
commands =
py.test --cov soupsieve --cov-append {toxinidir}
coverage html -d {envtmpdir}/coverage
coverage report --show-missing

[testenv:documents]
passenv= *
deps=
passenv = *
deps =
-rrequirements/docs.txt
-rrequirements/project.txt
commands=
commands =
mkdocs build --clean --verbose --strict
pyspelling

[testenv:lint]
passenv= *
deps=
passenv = *
deps =
-rrequirements/project.txt
-rrequirements/flake8.txt
commands=
commands =
flake8 {toxinidir}

[flake8]
Expand Down

0 comments on commit a1511d1

Please sign in to comment.