From 62a401fbead95355a152d48de01bb26a42237f07 Mon Sep 17 00:00:00 2001 From: maxirmx Date: Tue, 13 Oct 2015 12:26:32 +0300 Subject: [PATCH] Addiding model_init and tests to appveyor build --- .appveyor.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 9b9e40fda..33805a4f7 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -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.