This repository has been archived by the owner on Sep 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
74 lines (70 loc) · 2.34 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: 2.0.0.{build}
skip_tags: true
skip_branch_with_pr: true
environment:
matrix:
- PYTHON_VERSION: 3.4
PYTHON: C:\Python34
PYTHON_ARCH: x86
- PYTHON_VERSION: 3.5
PYTHON: C:\Python35
PYTHON_ARCH: x86
- PYTHON_VERSION: 3.6
PYTHON: C:\Python36
PYTHON_ARCH: x86
- PYTHON_VERSION: 3.4
PYTHON: C:\Python34-x64
PYTHON_ARCH: x64
- PYTHON_VERSION: 3.5
PYTHON: C:\Python35-x64
PYTHON_ARCH: x64
- PYTHON_VERSION: 3.6
PYTHON: C:\Python36-x64
PYTHON_ARCH: x64
# disabled due to broken AppVeyor config - wrong pip resolved
# - PYTHON_VERSION: Miniconda-3.4
# PYTHON: C:\Miniconda34
# PYTHON_ARCH: x86
- PYTHON_VERSION: Miniconda-3.5
PYTHON: C:\Miniconda35
PYTHON_ARCH: x86
- PYTHON_VERSION: Miniconda-3.6
PYTHON: C:\Miniconda36
PYTHON_ARCH: x86
# disabled due to broken AppVeyor config - wrong pip resolved
# - PYTHON_VERSION: Miniconda-3.4
# PYTHON: C:\Miniconda34-x64
# PYTHON_ARCH: x64
- PYTHON_VERSION: Miniconda-3.5
PYTHON: C:\Miniconda35-x64
PYTHON_ARCH: x64
- PYTHON_VERSION: Miniconda-3.6
PYTHON: C:\Miniconda36-x64
PYTHON_ARCH: x64
install:
- cmd: >-
SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
python --version
pip --version
pip install -r requirements.txt
pip freeze
build: off
test_script:
- cmd: python -m unittest discover
notifications:
# this publishes to Continuous Integration channel in Glip
- provider: Webhook
url:
secure: V16hjhyXfcLNyhNUih9v1Lb4wDly5r6CNNufciMrvllwt0m0rkguf6o4DY7pbdKia/vJGmErvQLdEW0MkzqsAhLWiPY7+Z6qvzFjweP8xNg=
method: POST
content_type: application/json
body: >-
{
"icon": "https://www.appveyor.com/assets/img/appveyor-logo-256.png",
"activity": "AppVeyor for analysis-api",
"title": "Build {{buildVersion}} **{{#failed}}failed{{/failed}}{{#passed}}passed{{/passed}}** in {{duration}}",
"body": "{{#isPullRequest}}Pull request: [#{{pullRequestId}}](https://github.com/spectre-team/analysis-api/pull/{{pullRequestId}})\n{{/isPullRequest}}Branch: [{{branch}}](https://github.com/spectre-team/analysis-api/tree/{{branch}})\nCommit: [{{commitId}} {{commitMessage}}](https://github.com/spectre-team/analysis-api/commit/{{commitId}})\nAuthor: {{commitAuthor}}\n[Build details]({{buildUrl}})"
}
on_build_success: true
on_build_failure: true
on_build_status_changed: true