Skip to content

Commit

Permalink
integration test, enforce min python for non-pip install
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Jul 25, 2019
1 parent 269c430 commit 53c5407
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Expand Up @@ -16,4 +16,4 @@ init:

install: pip install -e .[tests]

test_script: pytest -rsv
test_script: pytest -r a -v
11 changes: 10 additions & 1 deletion .travis.yml
Expand Up @@ -13,6 +13,15 @@ python:
matrix:
include:
- os: linux
name: Integration install
install:
- python setup.py install
- pip install $(basename $TRAVIS_REPO_SLUG)[tests]
script:
- cd $HOME
- python -m pytest $TRAVIS_BUILD_DIR -r a -v
- os: linux
name: PEP8 MyPy Coverage
python: 3.7
install: pip install -e .[tests,cov]
script:
Expand All @@ -24,4 +33,4 @@ matrix:

install: pip install -e .[tests]

script: pytest -v
script: pytest -r a -v
2 changes: 2 additions & 0 deletions pyproject.toml
@@ -0,0 +1,2 @@
[build-system]
requires = ["setuptools", "wheel"]
3 changes: 0 additions & 3 deletions setup.cfg
Expand Up @@ -26,9 +26,6 @@ long_description_content_type = text/markdown

[options]
python_requires = >= 3.6
setup_requires =
setuptools >= 38.6
pip >= 10
packages = find:
scripts =
meld_all.py
Expand Down
9 changes: 7 additions & 2 deletions setup.py
@@ -1,3 +1,8 @@
#!/usr/bin/env python
from setuptools import setup
setup()
import setuptools
import sys

if sys.version_info < (3, 6):
raise SystemExit("Python >= 3.6 required")

setuptools.setup()

0 comments on commit 53c5407

Please sign in to comment.