From 1f5fbe05a0ccd0e1207b9b01f0ef8064f1f72346 Mon Sep 17 00:00:00 2001 From: boyska Date: Sun, 11 Dec 2016 13:04:39 +0100 Subject: [PATCH] travis --- .travis.yml | 11 +++++++++++ requirements.txt | 26 -------------------------- setup.py | 2 +- 3 files changed, 12 insertions(+), 27 deletions(-) create mode 100644 .travis.yml delete mode 100644 requirements.txt diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..887529f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: python +sudo: false +python: + - "3.5" + +install: + - pip install -U wheel pytest==3 + - pip install . +script: python3 setup.py test + +cache: pip diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index af95dda..0000000 --- a/requirements.txt +++ /dev/null @@ -1,26 +0,0 @@ -alabaster==0.7.9 -Babel==2.3.4 -click==6.6 -docutils==0.12 -dominate==2.2.1 -Flask==0.11.1 -Flask-Bootstrap==3.3.6.0 -Flask-WTF==0.12 -gevent==1.1.2 -greenlet==0.4.10 -imagesize==0.7.1 -itsdangerous==0.24 -Jinja2==2.8 -MarkupSafe==0.23 -Pygments==2.1.3 -python-mpd2==0.5.5 -pytimeparse==1.1.5 -pytz==2016.6.1 -pyxdg==0.25 -six==1.10.0 -snowballstemmer==1.2.1 -Sphinx==1.4.6 -tinydb==3.2.1 -visitor==0.1.3 -Werkzeug==0.11.10 -WTForms==2.1 diff --git a/setup.py b/setup.py index 3b2a2aa..b2de1ab 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ setup(name='larigira', 'pytimeparse', 'tinydb' ], - tests_require=['pytest', 'pytest-timeout'], + tests_require=['pytest-timeout==1.0', 'py>=1.4.29', 'pytest==3.0', ], cmdclass={'test': PyTest}, zip_safe=False, include_package_data=True,