forked from hideaki-t/sqlite-fts-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
53 lines (48 loc) · 1.31 KB
/
appveyor.yml
File metadata and controls
53 lines (48 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
cache:
- '%LOCALAPPDATA%\pip\Cache'
environment:
global:
SQLITE_WIN32_URL: https://www.sqlite.org/2017/sqlite-dll-win32-x86-3190300.zip
SQLITE_WIN64_URL: https://www.sqlite.org/2017/sqlite-dll-win64-x64-3190300.zip
matrix:
- PYTHON: C:\Python36
ARCH: x86
- PYTHON: C:\Python36-x64
ARCH: x64
- PYTHON: C:\Python35
ARCH: x86
- PYTHON: C:\Python35-x64
ARCH: x64
- PYTHON: C:\Python34
ARCH: x86
- PYTHON: C:\Python34-x64
ARCH: x64
- PYTHON: C:\Python33
ARCH: x86
- PYTHON: C:\Python33-x64
ARCH: x64
- PYTHON: C:\Python27
ARCH: x86
- PYTHON: C:\Python27-x64
ARCH: x64
init:
- SET PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
- ps: If ($env:ARCH -eq "x64") { `
$env:SQLITE_URL=$env:SQLITE_WIN64_URL} `
Else { `
$env:SQLITE_URL=$env:SQLITE_WIN32_URL}
install:
- curl -fsSL -o sqlite_dll.zip %SQLITE_URL%
- 7z x sqlite_dll.zip sqlite3.dll
- mkdir %TEMP%\DLLs
- copy /Y %PYTHON%\DLLs\_sqlite3.pyd %TEMP%\DLLs
- copy /Y sqlite3.dll %TEMP%\DLLs
- python -m pip install -U pip
- python -m pip install "pytest!=3.0.0" igo-python janome tinysegmenter3
- python -m pip install -e .
build: false
test_script:
- SET PYTHONPATH=%TEMP%\DLLs
- SET PYTHONIOENCODING=utf-8
- cd tests
- py.test -sv