-
Notifications
You must be signed in to change notification settings - Fork 140
/
appveyor.yml
59 lines (51 loc) · 1.27 KB
/
appveyor.yml
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
54
55
56
57
58
59
build: false
services:
- mssql2014
environment:
matrix:
- PYTHON: "C:/Python27"
PY_VER: "2.7"
adapter: "mssql"
- PYTHON: "C:/Python27"
PY_VER: "2.7"
adapter: "mssqln"
- PYTHON: "C:/Python34"
PY_VER: "3.4"
adapter: "mssql"
- PYTHON: "C:/Python34"
PY_VER: "3.4"
adapter: "mssqln"
- PYTHON: "C:/Python35"
PY_VER: "3.5"
adapter: "mssql"
- PYTHON: "C:/Python35"
PY_VER: "3.5"
adapter: "mssqln"
- PYTHON: "C:/Python36-x64"
PY_VER: "3.6"
PYTHON_ARCH: "64"
adapter: "mssql"
- PYTHON: "C:/Python36-x64"
PY_VER: "3.6"
PYTHON_ARCH: "64"
adapter: "mssqln"
clone_depth: 50
init:
- "ECHO %PYTHON%"
- set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
install:
- appveyor DownloadFile https://bootstrap.pypa.io/pip/%PY_VER%/get-pip.py
- python get-pip.py
- pip install tox==1.9.2
- pip install codecov
before_test:
- ps: |
while($LASTEXITCODE -ne 0)
{
& sqlcmd -S "(local)\SQL2014" -b -U "sa" -P "Password12!" -Q "CREATE DATABASE pydal COLLATE Latin1_General_CS_AS;" -d "master"
sleep 10; $val++; Write-Host Waiting ... $val; if($val -ge 10) {break}
}
test_script:
- tox -e coverage-%adapter%
after_test:
- codecov