-
Notifications
You must be signed in to change notification settings - Fork 146
/
appveyor.yml
47 lines (36 loc) · 1.29 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
version: '{build}'
build: off
environment:
matrix:
- PYTHON: "C:/Python27"
TOXENV: "py27"
- PYTHON: "C:/Python27"
TOXENV: "py27-configparser"
- PYTHON: "C:/Python33"
TOXENV: "py33"
- PYTHON: "C:/Python34"
TOXENV: "py34"
init:
- "ECHO %TOXENV%"
- "ECHO %PYTHON%"
- ps: "ls C:/Python*"
install:
- ps: (new-object net.webclient).DownloadFile('https://raw.github.com/pypa/pip/master/contrib/get-pip.py', 'C:/get-pip.py')
- "%PYTHON%/python.exe C:/get-pip.py"
- "%PYTHON%/Scripts/pip.exe install virtualenv"
- "%PYTHON%/Scripts/pip.exe install tox"
- "%PYTHON%/Scripts/pip.exe install mercurial"
- "%PYTHON%/Scripts/pip.exe install -e ."
- 'git config --global user.email "[email protected]"'
- 'git config --global user.name "Testing Git on AppVeyor CI"'
- 'git --version'
- 'git config --list'
- ps: Add-Content $ENV:UserProfile\Mercurial.ini "[ui]`r`nusername = Testing Mercurial on AppVeyor CI <[email protected]>"
- ps: Write-Host $ENV:UserProfile\Mercurial.ini
- ps: Get-Content $ENV:UserProfile\Mercurial.ini
- 'hg --version'
test_script:
- "%PYTHON%/Scripts/pip.exe --version"
- "%PYTHON%/Scripts/virtualenv.exe --version"
- "%PYTHON%/Scripts/tox.exe --version"
- "%PYTHON%/Scripts/tox.exe -- -v"