Skip to content

Commit

Permalink
Fixing up CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Carotti committed Jun 24, 2019
1 parent 1f4fe1b commit cd3ff14
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 15 deletions.
26 changes: 14 additions & 12 deletions .travis.yml
@@ -1,20 +1,22 @@
dist: xenial
language: python
python:
- '2.7'
- '3.5'
- '3.6'
- '3.7'
- 3.7-dev
- 3.8-dev
- nightly
- pypy3.5
- '2.7'
- '3.5'
- '3.6'
- '3.7'
- 3.7-dev
- 3.8-dev
- nightly
- pypy3.5
install:
- pip install -r requirements-dev.txt
- pip install .
- pip install -r requirements-dev.txt
- pip install .
script:
- pytest --cov=tagged_union
- pylint tagged_union
- pylint tagged_union
- pytest --cov=tagged_union
after_success:
- coveralls
deploy:
provider: pypi
user: Carotti
Expand Down
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
Python Tagged Unions
====================

Python tagged unions (sum type, algebraic data types, etc.) with match capabilities
Python tagged unions (aka sum types, algebraic data types, etc.) with match capabilities
1 change: 1 addition & 0 deletions docs/conf.py
Expand Up @@ -31,6 +31,7 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.napoleon'
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
2 changes: 2 additions & 0 deletions requirements-dev.txt
@@ -1,4 +1,6 @@
coveralls
pylint
pytest
pytest-cov
sphinx
sphinxcontrib-napoleon
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -8,7 +8,7 @@
version="0.0.1",
author="Thomas Carotti",
author_email="thomas@carotti.co.uk",
description="Python tagged unions (sum type, algebraic data types, etc.) with match capabilities",
description="Python tagged unions (aka sum types, algebraic data types, etc.) with match capabilities",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/carotti/tagged-union",
Expand All @@ -20,4 +20,4 @@
"Operating System :: OS Independent",
"Intended Audience :: Developers",
],
)
)
Empty file added tests/__init__.py
Empty file.

0 comments on commit cd3ff14

Please sign in to comment.