diff --git a/.appveyor.yml b/.appveyor.yml index 07f7c48..19b12c7 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -16,5 +16,5 @@ init: install: pip install -e .[tests] -test_script: pytest -v +test_script: pytest -r a -v diff --git a/.travis.yml b/.travis.yml index 10cd25d..9848e40 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,16 +9,26 @@ git: matrix: include: - os: linux + name: Integration install + python: 3.7 + install: + - python setup.py install + - pip install $(basename $TRAVIS_REPO_SLUG)[tests] + script: + - cd $HOME + - python -m pytest $TRAVIS_BUILD_DIR/tests -r a -v + - os: linux + name: PEP8 MyPy Coverage python: 3.7 install: pip install -e .[tests,cov] script: - flake8 - mypy . - - pytest -v + - pytest -r a -v after_success: - pytest --cov - coveralls install: pip install -e .[tests] -script: pytest -v +script: pytest -r a -v diff --git a/setup.cfg b/setup.cfg index eace2a4..26e3b51 100644 --- a/setup.cfg +++ b/setup.cfg @@ -32,8 +32,8 @@ python_requires = >= 3.7 setup_requires = setuptools >= 38.6 pip >= 10 - twine >= 1.11 packages = find: +zip_safe: false scripts = ActOnChanged.py branch.py