Skip to content

Commit

Permalink
Cirrus CI: Do not install in “editable” mode
Browse files Browse the repository at this point in the history
This requires setup.py to be present, instead of a PEP 518 build spec.
  • Loading branch information
nbraud committed Jun 22, 2019
1 parent c27cc57 commit ce0599a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Lint_task:
container:
image: python:3.7-slim
install_script:
- pip install -e .[linting]
- pip install .[linting]
script:
- flake8 --version
- flake8
Expand All @@ -18,7 +18,7 @@ Linux_task:
- image: python:3.7-slim
- image: python:3.8-rc-slim
install_script:
- pip install -e .[testing]
- pip install .[testing]
script:
- python3 --version
- python3 -m pytest --verbose
Expand All @@ -39,7 +39,7 @@ macOS_task:
- pyenv install ${PYTHON}
- pyenv global ${PYTHON}
- pyenv rehash
- pip install -e .[testing]
- pip install .[testing]
script:
- python3 --version
- python3 -m pytest --verbose
Expand All @@ -55,7 +55,7 @@ FreeBSD_task:
- PY=`echo $PYTHON | tr -d '.'`
- pkg install -y python${PY} py${PY}-setuptools
- python${PYTHON} -m ensurepip
- python${PYTHON} -m pip install -e .[testing]
- python${PYTHON} -m pip install .[testing]
script:
- python${PYTHON} --version
- python${PYTHON} -m pytest --verbose
Expand All @@ -70,7 +70,7 @@ Windows_task:
- image: python:3.8-rc-windowsservercore-1809

install_script:
- C:\Python\python.exe -m pip install -e .[testing]
- C:\Python\python.exe -m pip install .[testing]
script:
- C:\Python\python.exe --version
- C:\Python\python.exe -m pytest --verbose

0 comments on commit ce0599a

Please sign in to comment.