Skip to content

Commit

Permalink
Testing pip builds with CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
cygnusv committed Dec 13, 2018
1 parent 1931604 commit 331aea4
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,39 @@ workflows:
filters:
tags:
only: /.*/
- pip_install_35:
filters:
tags:
only: /.*/
- pip_install_36:
filters:
tags:
only: /.*/
- pip_install_37:
filters:
tags:
only: /.*/
- run_tests_35:
filters:
tags:
only: /.*/
requires:
- pipenv_install_35
- pip_install_35
- run_tests_36:
filters:
tags:
only: /.*/
requires:
- pipenv_install_36
- pip_install_36
- run_tests_37:
filters:
tags:
only: /.*/
requires:
- pipenv_install_37
- pip_install_37
- mypy_type_check_36:
filters:
tags:
Expand Down Expand Up @@ -134,6 +149,22 @@ commands:
paths:
- pyUmbral-*

pip_install:
description: "Install Umbral with pip"
steps:
- checkout
- run:
name: Install Python Dependencies with Pip
command: |
pip3 install --user .
- run:
name: Install Python Development Dependencies with Pip
command: |
pip3 install --user .[testing]
- run:
name: Check Python Entrypoint
command: python3 -c "import umbral; print(umbral.__version__)"

run_tests:
description: "Run pyUmbral Tests"
parameters:
Expand Down Expand Up @@ -169,6 +200,21 @@ jobs:
steps:
- pipenv_install

pip_install_35:
<<: *python_35_base
steps:
- pip_install

pip_install_36:
<<: *python_36_base
steps:
- pip_install

pip_install_37:
<<: *python_37_base
steps:
- pip_install

run_tests_35:
<<: *python_35_base
steps:
Expand Down

0 comments on commit 331aea4

Please sign in to comment.