-
Notifications
You must be signed in to change notification settings - Fork 294
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
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.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The 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 comment
The 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.
My reasoning in the commit msg is:
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 comment
The 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 comment
The reason will be displayed to describe this comment to others. Learn more.
This is all unnecessary now with later releases of
lxml
. yay. #363