2015-06-10 18:35:19 +02:00
|
|
|
version: '{branch}-{build}'
|
2015-07-14 07:17:36 +02:00
|
|
|
cache:
|
|
|
|
- C:\projects\qutebrowser\.cache
|
2015-06-10 18:35:19 +02:00
|
|
|
build: off
|
|
|
|
environment:
|
|
|
|
PYTHONUNBUFFERED: 1
|
2015-10-05 23:30:33 +02:00
|
|
|
matrix:
|
|
|
|
- TESTENV: py34
|
|
|
|
- TESTENV: unittests-frozen
|
|
|
|
- TESTENV: pylint
|
2015-06-10 18:35:19 +02:00
|
|
|
|
|
|
|
install:
|
2015-06-28 22:31:30 +02:00
|
|
|
- C:\Python27\python -u scripts\dev\ci_install.py
|
2015-06-10 18:35:19 +02:00
|
|
|
|
|
|
|
test_script:
|
2015-11-12 22:13:10 +01:00
|
|
|
- C:\Python34\Scripts\tox -e %TESTENV% -- -p "no:sugar" -v --junitxml=junit.xml
|
2015-10-19 17:29:54 +02:00
|
|
|
|
|
|
|
after_test:
|
|
|
|
- ps: |
|
|
|
|
if ($env:TESTENV -ne "pylint") {
|
|
|
|
$url = "https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)"
|
|
|
|
$file = '.\junit.xml'
|
|
|
|
(New-Object 'System.Net.WebClient').UploadFile($url, (Resolve-Path $file))
|
|
|
|
}
|
2015-10-26 08:51:06 +01:00
|
|
|
if ($env:TESTENV -eq 'py34') {
|
2015-10-27 17:53:50 +01:00
|
|
|
C:\Python34\Scripts\codecov -e TESTENV -X gcov
|
2015-10-26 08:51:06 +01:00
|
|
|
}
|