forked from robotframework/RIDE
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy path.appveyor.yml
82 lines (63 loc) · 1.93 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
75
76
77
78
79
80
81
82
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: 2.0.{build}
# branches to build
branches:
# whitelist
only:
- master
- devops
# blacklist
except:
- gh-pages
# Do not build on tags (GitHub, Bitbucket, GitLab, Gitea)
skip_tags: true
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
# Maximum number of concurrent jobs for the project
max_jobs: 1
#---------------------------------#
# environment configuration #
#---------------------------------#
# Build worker image (VM template)
image: Visual Studio 2022
# image: macos-bigsur
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
# clone directory
# clone_folder: c:\projects\RIDE
# fetch repository as zip archive
shallow_clone: false # default is "false"
# set clone depth
clone_depth: 5 # clone entire repository history if not defined
# this is how to allow failing jobs in the matrix
# matrix:
# fast_finish: false # set this flag to immediately finish build once one of the jobs fails.
# allow_failures:
# - platform: x64
# configuration: Release
# environment:
# matrix:
# - TOXENV: py36
# - TOXENV: py37
# - TOXENV: py38
# environment:
# matrix:
# - APPVEYOR_BUILD_WORKER_IMAGE: macOS
# TOXENV: py38
build: off
# scripts that run after cloning repository
install:
- C:\Python311-x64\python -m pip install -r requirements-dev.txt
- C:\Python311-x64\python -m pip install -r requirements.txt
- C:\Python311-x64\python -m pip install .
#---------------------------------#
# tests configuration #
#---------------------------------#
# to run your custom scripts instead of automatic tests
test_script:
- set PATH=C:\Python311-x64;C:\Python311-x64\Scripts;%PATH%
- C:\Python311-x64\python -m invoke test-ci