Skip to content

Commit

Permalink
Use 'python -m pip' to ensure correct Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwager committed Oct 15, 2020
1 parent cfcd66f commit 1c478bd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ environment:
- PYTHON: "C:\\Python38"
- PYTHON: "C:\\Python39"
install:
- pip install --requirement requirements.txt
- pip install --requirement requirements-dev.txt
- pip install --editable .
- python -m pip install --requirement requirements.txt
- python -m pip install --requirement requirements-dev.txt
- python -m pip install --editable .
test_script:
- flake8
- flake8 --print-dlint-linters
- pytest --cov
- python -m flake8
- python -m flake8 --print-dlint-linters
- python -m pytest --cov
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
allow_failures:
- python: nightly
install:
- pip install --requirement requirements.txt
- pip install --requirement requirements-dev.txt
- pip install --editable .
- python -m pip install --requirement requirements.txt
- python -m pip install --requirement requirements-dev.txt
- python -m pip install --editable .
script:
- flake8
- flake8 --print-dlint-linters
- pytest --cov
- python -m flake8
- python -m flake8 --print-dlint-linters
- python -m pytest --cov
after_success:
- coveralls

0 comments on commit 1c478bd

Please sign in to comment.