install within user
@@ -66,10 +66,10 @@ jobs:
- script: "python -c \"import sys; print(sys.version); print(sys.executable)\""
displayName: Show python information
- - script: "python -m pip install pip setuptools"
+ - script: "python -m pip install -U pip setuptools --user"
displayName: Upgrade pip and setuptools
- - script: "python -m pip install tox"
+ - script: "python -m pip install -U tox --user"
displayName: Install tox
- script: python -m tox -e $TOXENV --notest
@@ -92,11 +92,11 @@ jobs:
vmImage: 'ubuntu-16.04'
steps:
- - script: "python -m pip install pip setuptools"
+ - script: "python -m pip install -U pip setuptools --user"
displayName: Upgrade pip and setuptools
- - script: "python -m pip install nbstripout"
+ - script: "python -m pip install -U nbstripout --user"
displayName: Install nbstripout
- - bash: find . -iname \*.ipynb | xargs -d "\n" nbstripout && git add -A && git diff HEAD --name-only --exit-code -- "*ipynb"
+ - bash: find . -iname \*.ipynb | xargs -d "\n" python -m nbstripout && git add -A && git diff HEAD --name-only --exit-code -- "*ipynb"
displayName: Check that notebooks have no included output
