get mingw32 to work, enable pytest fast-fail

This commit is contained in:
Henning Peters 2015-12-23 00:12:28 +01:00
parent e457975e8c
commit 2528217b7e
2 changed files with 10 additions and 2 deletions

View File

@ -65,7 +65,7 @@ elif install_mode == 'test':
os.chdir('tmp')
x('python -m spacy.en.download')
x('python -m pytest ../spacy/ --models --vectors --slow')
x('python -m pytest ../spacy/ -x --models --vectors --slow')
finally:
os.chdir(old)

View File

@ -9,7 +9,15 @@ $ErrorActionPreference = "Stop"
if(!(Test-Path -Path ".build"))
{
virtualenv .build --system-site-packages --python $python
if($compiler -eq "mingw32")
{
virtualenv .build --system-site-packages --python $python
}
else
{
virtualenv .build --python $python
}
if($compiler)
{
"[build]`r`ncompiler=$compiler" | Out-File -Encoding ascii .\.build\Lib\distutils\distutils.cfg