-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cleanup] Fix CI tests and some various cleanup
- Loading branch information
Bastien Vallet
committed
Jul 21, 2020
1 parent
9b730f0
commit c60dd14
Showing
11 changed files
with
14 additions
and
40 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,15 +1,13 @@ | ||
language: python | ||
cache: pip | ||
python: | ||
- 3.5 | ||
- 3.6 | ||
- 3.7 | ||
- 3.8 | ||
- pypy3 | ||
|
||
script: make travis | ||
install: | ||
- pip install . | ||
- pip install -r requirements.txt | ||
install: pip install tox-travis | ||
script: | ||
tox | ||
after_success: | ||
- coveralls |
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,5 @@ | ||
import functools | ||
|
||
import asyncio | ||
|
||
|
||
def wrap_coroutine(api, coroutine): | ||
@functools.wraps(coroutine) | ||
|
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,6 +1,4 @@ | ||
coverage | ||
pytest | ||
pytest-coverage | ||
coveralls | ||
mock | ||
pytest>=4.6 | ||
maya; python_version >= '3.6' | ||
maya; python_version >= '3.7' |
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 |
---|---|---|
|
@@ -2,9 +2,6 @@ | |
|
||
from setuptools import setup | ||
|
||
requires = ['python-dateutil>=2.7'] | ||
tests_require = ['nose'] | ||
|
||
with open('README.rst') as f: | ||
readme = f.read() | ||
|
||
|
@@ -17,8 +14,7 @@ | |
author_email='[email protected]', | ||
url='https://github.com/spulec/freezegun', | ||
packages=['freezegun'], | ||
install_requires=requires, | ||
tests_require=tests_require, | ||
install_requires=['python-dateutil>=2.7'], | ||
include_package_data=True, | ||
license='Apache 2.0', | ||
python_requires='>=3.5', | ||
|
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
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 |
---|---|---|
|
@@ -15,7 +15,6 @@ | |
|
||
try: | ||
import maya | ||
|
||
except ImportError: | ||
maya = None | ||
|
||
|
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
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,4 +1,3 @@ | ||
from __future__ import print_function, absolute_import, unicode_literals | ||
import datetime | ||
import uuid | ||
|
||
|
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