Appveyor build cleanup

This commit is contained in:
maxirmx 2015-10-25 21:06:22 +03:00
parent 8d13b9d297
commit 368e387e80
1 changed files with 2 additions and 16 deletions

View File

@ -36,19 +36,7 @@ install:
# Prepend newly installed Python to the PATH of this build (this cannot be # Prepend newly installed Python to the PATH of this build (this cannot be
# done from inside the powershell script as it would require to restart # done from inside the powershell script as it would require to restart
# the parent CMD process). # the parent CMD process).
- "SET PATH=%CD%;%PYTHON%;%PYTHON%\\Scripts;%PATH%" - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "SET PYTHONPATH=%CD%;%PYTHONPATH%"
# Filesystem root
#- ps: "ls \"C:/\""
#- SET
# Installed SDKs
#- ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
# Checking stdint.h
#- ps: "ls \"C:/projects/spacy/include/\""
# Check that we have the expected version and architecture for Python # Check that we have the expected version and architecture for Python
- "python --version" - "python --version"
@ -71,15 +59,13 @@ build_script:
- "%CMD_IN_ENV% python setup.py build_ext --inplace" - "%CMD_IN_ENV% python setup.py build_ext --inplace"
- ps: appveyor\download.ps1 - ps: appveyor\download.ps1
- "tar -xzf corpora/en/wordnet.tar.gz" - "tar -xzf corpora/en/wordnet.tar.gz"
#- "ls \"C:/projects/spacy/corpora/en/"
#- "ls \"C:/projects/spacy/"
- "%CMD_IN_ENV% python bin/init_model.py en lang_data/ corpora/ spacy/en/data" - "%CMD_IN_ENV% python bin/init_model.py en lang_data/ corpora/ spacy/en/data"
test_script: test_script:
# Run the project tests # Run the project tests
- "pip install pytest" - "pip install pytest"
- "%CMD_IN_ENV% py.test tests/ -x" - "%CMD_IN_ENV% py.test spacy/ -x"
after_test: after_test:
# If tests are successful, create binary packages for the project. # If tests are successful, create binary packages for the project.