mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-03 13:14:11 +03:00
Addiding model_init and tests to appveyor build
This commit is contained in:
parent
4dc09c374f
commit
62a401fbea
|
@ -21,7 +21,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=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
- "SET PATH=%CD%;%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
||||||
|
|
||||||
# Filesystem root
|
# Filesystem root
|
||||||
# - ps: "ls \"C:/\""
|
# - ps: "ls \"C:/\""
|
||||||
|
@ -46,21 +46,23 @@ install:
|
||||||
# pip will build them from source using the MSVC compiler matching the
|
# pip will build them from source using the MSVC compiler matching the
|
||||||
# target Python version and architecture
|
# target Python version and architecture
|
||||||
- "pip install --upgrade setuptools"
|
- "pip install --upgrade setuptools"
|
||||||
#- "pip install cython fabric fabtools"
|
- "pip install cython fabric fabtools"
|
||||||
#- "%CMD_IN_ENV% pip install -r requirements.txt"
|
- "%CMD_IN_ENV% pip install -r requirements.txt"
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
# Build the compiled extension
|
# Build the compiled extension
|
||||||
#- "%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/corpora/en/"
|
||||||
- "ls \"C:/projects/spacy/"
|
#- "ls \"C:/projects/spacy/"
|
||||||
|
- "%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
|
||||||
#- "%CMD_IN_ENV% python setup.py nosetests"
|
- "pip install pytest"
|
||||||
|
- "%CMD_IN_ENV% py.test tests/ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user