forked from web2py/pydal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
51 lines (43 loc) · 1.11 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
build: false
services:
- mssql2014
environment:
matrix:
- PYTHON: "C:/Python27"
adapter: "mssql"
- PYTHON: "C:/Python27"
adapter: "mssqln"
- PYTHON: "C:/Python34"
adapter: "mssql"
- PYTHON: "C:/Python34"
adapter: "mssqln"
- PYTHON: "C:/Python35"
adapter: "mssql"
- PYTHON: "C:/Python35"
adapter: "mssqln"
- PYTHON: "C:/Python36-x64"
PYTHON_ARCH: "64"
adapter: "mssql"
- PYTHON: "C:/Python36-x64"
PYTHON_ARCH: "64"
adapter: "mssqln"
clone_depth: 50
init:
- "ECHO %PYTHON%"
- set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
install:
- ps: Start-FileDownload https://bootstrap.pypa.io/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