Addiding model_init and tests to appveyor build

This commit is contained in:
maxirmx 2015-10-13 12:26:32 +03:00
parent 4dc09c374f
commit 62a401fbea
1 changed files with 9 additions and 7 deletions

View File

@ -21,7 +21,7 @@ install:
# 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
# the parent CMD process).
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "SET PATH=%CD%;%PYTHON%;%PYTHON%\\Scripts;%PATH%"
# Filesystem root
# - ps: "ls \"C:/\""
@ -46,21 +46,23 @@ install:
# pip will build them from source using the MSVC compiler matching the
# target Python version and architecture
- "pip install --upgrade setuptools"
#- "pip install cython fabric fabtools"
#- "%CMD_IN_ENV% pip install -r requirements.txt"
- "pip install cython fabric fabtools"
- "%CMD_IN_ENV% pip install -r requirements.txt"
build_script:
# 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
- "tar -xzf corpora/en/wordnet.tar.gz"
- "ls \"C:/projects/spacy/corpora/en/"
- "ls \"C:/projects/spacy/"
#- "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"
test_script:
# Run the project tests
#- "%CMD_IN_ENV% python setup.py nosetests"
- "pip install pytest"
- "%CMD_IN_ENV% py.test tests/ -x"
after_test:
# If tests are successful, create binary packages for the project.