forked from avocado-framework/avocado-vt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
73 lines (70 loc) · 2.09 KB
/
.cirrus.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
env:
CIRRUS_CLONE_DEPTH: 1
fedora_30_task:
container:
image: quay.io/avocado-framework/avocado-vt-ci-fedora-30
env:
PYTHON: python3
matrix:
# Get deps from setup.py (therefor pip version of avocado)
- AVOCADO_SRC:
# Latest LTS release is 69.x
- AVOCADO_SRC: avocado-framework<70.0
# Latest Avocado from git
- AVOCADO_SRC: -e git+https://github.com/avocado-framework/avocado#egg=avocado_framework
matrix:
- SETUP: setup.py develop --user
- SETUP: -m pip install .
setup_script: &setup_scr
- $PYTHON --version
- test -z $AVOCADO_SRC || $PYTHON -m pip install $AVOCADO_SRC
- $PYTHON $SETUP
bootstrap_script: &bootstrap_scr
- $PYTHON -m avocado vt-bootstrap --vt-skip-verify-download-assets --yes-to-all
list_script: &list_scr
- $PYTHON -m avocado list
dry_run_script: &dry_run_scr
- $PYTHON -m avocado --show all run --dry-run -- boot
rhel_8_task:
container:
image: quay.io/avocado-framework/avocado-vt-ci-rhel-8
env:
PYTHON: python3
matrix:
- AVOCADO_SRC:
- AVOCADO_SRC: avocado-framework<70.0
# When installing from source, pip tries to install at
# /usr/local/lib/python3.6/site-packages/ and fails with:
# [Errno 2] No such file or directory: '/usr/local/lib/python3.6/site-packages/test-easy-install-78.write-test'
# workaround is to add "--prefix /"
- AVOCADO_SRC: --prefix / -e git+https://github.com/avocado-framework/avocado#egg=avocado_framework
matrix:
- SETUP: setup.py develop --user
- SETUP: -m pip install .
setup_script:
*setup_scr
bootstrap_script:
*bootstrap_scr
list_script:
*list_scr
dry_run_script:
*dry_run_scr
centos_7_task:
env:
PYTHON: python2
matrix:
- AVOCADO_SRC:
- AVOCADO_SRC: avocado-framework<70.0
matrix:
- SETUP: setup.py develop --user
- SETUP: -m pip install .
container:
image: quay.io/avocado-framework/avocado-vt-ci-centos-7
setup_script:
*setup_scr
bootstrap_script:
*bootstrap_scr
list_script:
*list_scr
dry_run_script:
*dry_run_scr