Skip to content

Commit

Permalink
Stop installing unnecessary packages for checks
Browse files Browse the repository at this point in the history
  • Loading branch information
iwiwi committed Oct 26, 2018
1 parent 5a57bd1 commit af7e9fb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
17 changes: 11 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,12 @@ jobs:
steps:
- checkout

- run: &install
- run:
name: install
command: |
sudo apt-get update
sudo apt-get -y install openmpi-bin libopenmpi-dev
python -m venv venv || virtualenv venv
. venv/bin/activate
python setup.py sdist
pip install $(ls dist/*.tar.gz)[circleci]
pip install .[checking]
- run:
name: flake8
Expand All @@ -69,7 +66,15 @@ jobs:
steps:
- checkout

- run: *install
- run: &install
name: install
command: |
sudo apt-get update
sudo apt-get -y install openmpi-bin libopenmpi-dev
python -m venv venv || virtualenv venv
. venv/bin/activate
python setup.py sdist
pip install $(ls dist/*.tar.gz)[testing]
- run: &tests
name: tests
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def get_extras_require():
# for the library's problem in handling NamedTuple since 0.630.
# The problem is tracked at https://github.com/python/mypy/issues/5640.
extras_require['checking'].append('mypy==0.620')
extras_require['circleci'] = extras_require['checking'] + extras_require['testing']
return extras_require


Expand Down

0 comments on commit af7e9fb

Please sign in to comment.