Skip to content

Commit

Permalink
Revert "Run mypy on every version, exclude python version 3.5"
Browse files Browse the repository at this point in the history
  • Loading branch information
nielstron committed Nov 10, 2020
1 parent c976b4a commit 02b64f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Expand Up @@ -4,23 +4,24 @@ cache:
directories: [$HOME/.cache/pre-commit]
matrix:
include:
- python: '3.5'
- python: '3.6'
- python: '3.7'
- python: '3.8'
env: PRE_COMMIT=1
env: PRE_COMMIT=1 MYPY=1
fast_finish: true
dist: xenial
sudo: true

install:
- pip install coverage coveralls
- test ! "$PRE_COMMIT" || pip install pre-commit
- pip install "mypy>=0.782"
- test ! "$MYPY" || pip install "mypy>=0.782"
- pip install -e .

script:
- test ! "$PRE_COMMIT" || pre-commit run --all-files
- mypy --python-version $TRAVIS_PYTHON_VERSION pysyncthru
- test ! "$MYPY" || mypy pysyncthru
- coverage run --source=pysyncthru setup.py test

after_success:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -39,6 +39,7 @@
"Intended Audience :: Developers",
"Topic :: Software Development :: Object Brokering",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
Expand Down

0 comments on commit 02b64f9

Please sign in to comment.