|
| 1 | +# Use unofficial Windows Binaries for Python Extension Packages from |
| 2 | +# https://www.lfd.uci.edu/~gohlke/pythonlibs/ |
| 3 | + |
1 | 4 | build: off |
2 | 5 |
|
3 | 6 | environment: |
4 | 7 | matrix: |
| 8 | +# - PYTHON: "C:/Python36" |
| 9 | +# PYTHON_VERSION: "3.6" |
| 10 | +# PYTHON_ARCH: "32" |
| 11 | +# ARTAGGER_PKG: "https://github.com/wannaphongcom/artagger/tarball/master#egg=artagger" |
| 12 | +# PYICU_PKG: "https://www.dropbox.com/s/pahorbq29y9cura/PyICU-2.3.1-cp36-cp36m-win32.whl?dl=1" |
| 13 | + |
5 | 14 | - PYTHON: "C:/Python36-x64" |
6 | 15 | PYTHON_VERSION: "3.6" |
7 | 16 | PYTHON_ARCH: "64" |
8 | 17 | ARTAGGER_PKG: "https://github.com/wannaphongcom/artagger/tarball/master#egg=artagger" |
| 18 | + PYICU_PKG: "https://www.dropbox.com/s/7t0rrxwckqbgivi/PyICU-2.3.1-cp36-cp36m-win_amd64.whl?dl=1" |
9 | 19 |
|
10 | | - #- PYTHON: "C:/Python36-x64" |
11 | | - # PYTHON_VERSION: "3.6" |
12 | | - # PYTHON_ARCH: "64" |
13 | | - # PYICU_PKG: "" |
14 | | - |
15 | | - #- PYTHON: "C:/Python37" |
16 | | - # PYTHON_VERSION: "3.7" |
17 | | - # PYTHON_ARCH: "32" |
18 | | - # PYICU_PKG: "" |
| 20 | +# - PYTHON: "C:/Python37" |
| 21 | +# PYTHON_VERSION: "3.7" |
| 22 | +# PYTHON_ARCH: "32" |
| 23 | +# ARTAGGER_PKG: "https://github.com/wannaphongcom/artagger/tarball/master#egg=artagger" |
| 24 | +# PYICU_PKG: "https://www.dropbox.com/s/3xwdnwhdcu619x4/PyICU-2.3.1-cp37-cp37m-win32.whl?dl=1" |
19 | 25 |
|
20 | | - #- PYTHON: "C:/Python37-x64" |
21 | | - # PYTHON_VERSION: "3.7" |
22 | | - # PYTHON_ARCH: "64" |
23 | | - # PYICU_PKG: "" |
| 26 | + - PYTHON: "C:/Python37-x64" |
| 27 | + PYTHON_VERSION: "3.7" |
| 28 | + PYTHON_ARCH: "64" |
| 29 | + ARTAGGER_PKG: "https://github.com/wannaphongcom/artagger/tarball/master#egg=artagger" |
| 30 | + PYICU_PKG: "https://www.dropbox.com/s/le5dckc3231opqt/PyICU-2.3.1-cp37-cp37m-win_amd64.whl?dl=1" |
24 | 31 |
|
25 | 32 | init: |
26 | 33 | - "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%" |
27 | | - - ps: "ls C:/Python*" |
| 34 | +# - ps: "ls C:/Python*" |
28 | 35 |
|
29 | 36 | install: |
30 | 37 | - "chcp 65001" |
31 | 38 | - "set PYTHONIOENCODING=utf-8" |
| 39 | + - "%PYTHON%/python.exe --version" |
32 | 40 | # - "set ICU_VERSION=62" |
33 | 41 | - "%PYTHON%/python.exe -m pip install --upgrade pip" |
34 | | - - "%PYTHON%/python.exe -m pip install https://www.dropbox.com/s/g84479l8yhv5ohi/PyICU-2.2-cp36-cp36m-win_amd64.whl?dl=1" |
| 42 | + - "%PYTHON%/python.exe -m pip install coveralls[yaml]" |
| 43 | + - "%PYTHON%/python.exe -m pip install coverage" |
| 44 | + - "%PYTHON%/python.exe -m pip install %PYICU_PKG%" |
35 | 45 | - "%PYTHON%/python.exe -m pip install %ARTAGGER_PKG%" |
36 | 46 | - "%PYTHON%/python.exe -m pip install -e .[artagger,icu,ipa,ner,thai2fit,deepcut]" |
37 | 47 |
|
38 | 48 | test_script: |
39 | 49 | - "%PYTHON%/python.exe -m pip --version" |
40 | | - - "%PYTHON%/python.exe setup.py test" |
| 50 | + - "%PYTHON%/python.exe -m coverage run --source=pythainlp setup.py test" |
0 commit comments