Skip to content

Commit

Permalink
Try and make lxml reliably build (#59)
Browse files Browse the repository at this point in the history
* Try and make lxml reliably build

* Force upgrade of pip to latest
  • Loading branch information
facelessuser authored Jan 2, 2019
1 parent f557c4e commit fdd9835
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 7 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,19 @@ init:

install:
# Setup Python test tools
- "%PYTHON%/Scripts/pip.exe install -U setuptools"
- "%PYTHON%/Scripts/pip.exe install virtualenv"
- "%PYTHON%/Scripts/pip.exe install tox"
- "%PYTHON%/Scripts/pip.exe install codecov"
- "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"

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

after_test:
- if not ("%TOXENV%" == "lint") if not ("%TOXENV%" == "documents") codecov
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ envlist =
{py27,py34,py35,py36,py37,py38}, lint, documents

[testenv]
passenv = LANG
passenv= *
deps=
-rrequirements/tests.txt
commands=
Expand All @@ -12,6 +12,7 @@ commands=
coverage report --show-missing

[testenv:documents]
passenv= *
deps=
-rrequirements/docs.txt
-rrequirements/project.txt
Expand All @@ -20,6 +21,7 @@ commands=
pyspelling

[testenv:lint]
passenv= *
deps=
-rrequirements/project.txt
-rrequirements/flake8.txt
Expand Down

0 comments on commit fdd9835

Please sign in to comment.