- Notifications
You must be signed in to change notification settings - Fork294
Update Travis to use tox, and add Appveyor CI#293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# To activate, change the Appveyor settings to use `.appveyor.yml`. | ||
init: | ||
- SET PATH=C:\\Python27\\Scripts\\;%PATH%" | ||
- SET COVERAGE_RUN_OPTIONS="--parallel-mode" | ||
install: | ||
- git submodule update --init --recursive | ||
- python -m pip install tox codecov | ||
build: off | ||
test_script: | ||
# Avoid py35-optional, as pypi does not have lxml wheels for py35 | ||
- python -m tox -e "py35-base,{py26,py27,py33,py34}-{base,optional}" | ||
on_success: | ||
- coverage combine | ||
- codecov |
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -10,7 +10,11 @@ chardet>=2.2 | ||
# lxml is supported with its own treebuilder ("lxml") and otherwise | ||
# uses the standard ElementTree support | ||
lxml ; platform_python_implementation == 'CPython' and sys_platform != 'win32' | ||
lxml==3.6.0 ; platform_python_implementation == 'CPython' and sys_platform == 'win32' and python_version <= '3.4' | ||
lxml==3.6.0 ; platform_python_implementation == 'CPython' and sys_platform == 'win_amd64' and python_version <= '3.4' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. why do we have this pinned to 3.6.0? (answers preferably as a comment!) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. It is not mandatory, but highly recommended to simplify life for Windows users.
3.6.1 doesnt have wheels; if we dont pin it, pip will attempt to install 3.6.1 from source. If you agree with this reasoning, ill add a comment explaining it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Yeah, please do add a comment! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. This is all unnecessary now with later releases of | ||
lxml ; platform_python_implementation == 'CPython' and sys_platform == 'win32' and python_version >= '3.5' | ||
lxml ; platform_python_implementation == 'CPython' and sys_platform == 'win_amd64' and python_version >= '3.5' | ||
# DATrie can be used in place of our Python trie implementation for | ||
# slightly better parsing performance. | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
-r requirements.txt | ||
tox | ||
flake8<3.0 | ||
pylint==1.6.4 ; python_version > '2.6' | ||
pylint==1.3.1 ; python_version <= '2.6' | ||
astroid==1.3.5 ; python_version <= '2.6' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. What's this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. This was to get Python 2.6 builds to work , as pylint dropped support for Python 2.6 a while ago, hence this workaround. | ||
pytest | ||
coverage | ||
pytest-expect>=1.1,<2.0 | ||
mock |