forked from defunkt/pystache
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modernize python versions (keep py27) and fix spec_test load cmd
Signed-off-by: Stephen L Arnold <[email protected]>
- Loading branch information
Showing
5 changed files
with
61 additions
and
15 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,3 +1,3 @@ | ||
[submodule "ext/spec"] | ||
path = ext/spec | ||
url = http://github.com/mustache/spec.git | ||
url = https://github.com/mustache/spec.git |
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,14 +1,52 @@ | ||
dist: xenial | ||
language: python | ||
|
||
# Travis CI has no plans to support Jython and no longer supports Python 2.5. | ||
python: | ||
- 2.6 | ||
- 2.7 | ||
- 3.2 | ||
- pypy | ||
- "2.7" | ||
- "3.5" | ||
- "3.6" | ||
- "3.7" | ||
- "3.8" | ||
- "3.9-dev" | ||
- "nightly" | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- os: osx | ||
# osx is goofy, ``python`` is always py2, images mutate fast | ||
language: shell | ||
before_install: | ||
- pip3 install --upgrade pip wheel | ||
install: | ||
- python3 setup.py install | ||
script: | ||
- pystache-test . ext/spec/specs | ||
- os: windows | ||
# windows is even goofier, install path is different for python/python3 | ||
# but either way you get python3 and the cmd is always ``python`` o.O | ||
# (also versions mutuate like bacteria) | ||
language: shell | ||
before_install: | ||
- choco install python3 --params "/InstallDir:C:\\Python" | ||
- python -m pip install --upgrade pip wheel | ||
env: PATH="/c/Python:/c/Python/Scripts:$PATH" | ||
install: | ||
- python setup.py install | ||
script: | ||
- pystache-test . ext/spec/specs | ||
allow_failures: | ||
- python: "nightly" | ||
|
||
# command to install dependencies | ||
install: | ||
- pip install --upgrade pip | ||
- pip install codecov | ||
|
||
script: | ||
- python setup.py install | ||
# Include the spec tests directory for Mustache spec tests and the | ||
# project directory for doctests. | ||
- pystache-test . ext/spec/specs | ||
#- tox |
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 |
---|---|---|
|
@@ -131,14 +131,13 @@ | |
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.4', | ||
'Programming Language :: Python :: 2.5', | ||
'Programming Language :: Python :: 2.6', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.1', | ||
'Programming Language :: Python :: 3.2', | ||
'Programming Language :: Python :: 3.3', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: Implementation :: PyPy', | ||
) | ||
|
||
|
@@ -382,7 +381,7 @@ def main(sys_argv): | |
author_email='[email protected]', | ||
maintainer='Chris Jerdonek', | ||
maintainer_email='[email protected]', | ||
url='http://github.com/defunkt/pystache', | ||
url='https://github.com/defunkt/pystache', | ||
install_requires=INSTALL_REQUIRES, | ||
packages=PACKAGES, | ||
package_data = { | ||
|
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