forked from Azure/azure-functions-python-worker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
63 lines (51 loc) · 1.46 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
image:
- Visual Studio 2017
- Ubuntu
branches:
only:
- master
- dev
- ci
environment:
PIP_NO_WARN_SCRIPT_LOCATION: 0
PIP_DISABLE_PIP_VERSION_CHECK: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_VERSION: 2.1.402
matrix:
- PYTHON_VERSION: 3.6
- PYTHON_VERSION: 3.7
# We must run tests sequentially as most integration tests
# depend on the functino app state, which would get mangled
# with multiple test jobs being run in parallel.
max_jobs: 1
for:
-
matrix:
only:
- image: Visual Studio 2017
install:
- ps: $Env:PATH = "C:\\Python" + $Env:PYTHON_VERSION.replace(".", "") + "-x64\\;" + $env:PATH
- cmd: choco install azure-functions-core-tools --pre
- cmd: dotnet --info
- cmd: python --version
build_script:
- cmd: .ci\win_build.bat
test_script:
- cmd: .ci\win_tests.bat
-
matrix:
only:
- image: Ubuntu
install:
- sh: PATH="$(.ci/appveyor_find_python.sh):${PATH}"
- sh: |
sudo add-apt-repository -y \
'deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main' \
&& sudo apt-get update \
&& sudo apt-get install -y \
azure-functions-core-tools
- sh: .ci/linux_install.sh
build_script:
- sh: .ci/linux_build.sh
test_script:
- sh: .ci/linux_tests.sh