-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop Jython/Python 2 and add Python 3.9/3.10
- Loading branch information
1 parent
ae19c45
commit b468b64
Showing
3 changed files
with
12 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,15 @@ | ||
language: python | ||
|
||
python: | ||
- "2.7" | ||
- "3.4" | ||
- "3.5" | ||
- "3.6" | ||
- "3.7" | ||
- "3.8" | ||
- "3.9" | ||
- "3.10-dev" | ||
- "pypy" | ||
|
||
script: nosetests -vv --with-coverage --cover-package=xmltodict | ||
install: pip install nose2 | ||
|
||
jobs: | ||
include: | ||
- python: "3.8" | ||
dist: bionic | ||
- name: "Jython" | ||
python: "pypy" | ||
env: JYTHON_VERSION="2.7.0" | ||
before_install: | ||
- export JYTHON_URL="http://search.maven.org/remotecontent?filepath=org/python/jython-installer/${JYTHON_VERSION}/jython-installer-${JYTHON_VERSION}.jar" | ||
- wget $JYTHON_URL -O jython_installer.jar | ||
- java -jar jython_installer.jar -s -d $HOME/jython | ||
- export PATH="$HOME/jython:$PATH" | ||
- $HOME/jython/bin/easy_install nose | ||
script: $HOME/jython/bin/nosetests | ||
script: nose2 -vv --coverage=xmltodict.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[tox] | ||
envlist = py27, py34, py35, py36, py37, py38, pypy | ||
envlist = py34, py35, py36, py37, py38, py39, py310, pypy | ||
[testenv] | ||
deps = | ||
coverage | ||
nose | ||
commands=nosetests --with-coverage --cover-package=xmltodict | ||
nose2 | ||
commands=nose2 --coverage=xmltodict.py |