diff --git a/build.py b/build.py index f2824db91..927310fb4 100644 --- a/build.py +++ b/build.py @@ -52,7 +52,7 @@ try: os.chdir('tmp') x('python -m spacy.en.download') - x('python -m pytest ../spacy/ -x --models --vectors --slow') + x('python -m pytest ../spacy/ --models --vectors --slow') finally: os.chdir(old) diff --git a/venv.ps1 b/venv.ps1 index 5daa3e7e0..ad6c7cd9d 100644 --- a/venv.ps1 +++ b/venv.ps1 @@ -11,3 +11,4 @@ if(!(Test-Path -Path ".build")) .build\Scripts\activate.ps1 python build.py $install_mode $pip_date +exit $LASTEXITCODE