Skip to content

Commit

Permalink
Merge f953d6a into cea13f4
Browse files Browse the repository at this point in the history
  • Loading branch information
khh-huang committed Apr 26, 2019
2 parents cea13f4 + f953d6a commit ea229e7
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions bitbucket-pipelines.yml
@@ -0,0 +1,32 @@
# This is a sample build configuration for Python.
# Check our guides at https://confluence.atlassian.com/x/x4UWN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: python:3.7.2

pipelines:
default:
- parallel:
- step:
name: Lint
caches:
- pip
script:
- pip install flake8 flake8-bugbear
- flake8 black.py blackd.py tests/test_black.py
- step:
name: Type Check
caches:
- pip
script:
- pip install mypy
- mypy black.py blackd.py tests/test_black.py
- step:
name: Unit Tests
caches:
- pip
script:
- pip install coverage coveralls click
- pip install -e '.[d]'
- coverage run tests/test_black.py

0 comments on commit ea229e7

Please sign in to comment.