-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy path.gitlab-ci.yml
92 lines (86 loc) · 2.05 KB
/
.gitlab-ci.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
83
84
85
86
87
88
89
90
91
92
cache:
paths:
- deps_cache
test_recoverycli_py3_buster:
image: greenaddress/wallycore@sha256:654e5939446bfa8f33966031e768f6600e1d627b598e738e1d8f8427370786c7
tags:
- ga
script:
- cd $CI_PROJECT_DIR
- virtualenv -p python3 venv
- source venv/bin/activate
- pip install --require-hashes -r tools/requirements_dev.txt --cache-dir deps_cache
- ./tools/dobuild.sh
artifacts:
expire_in: 1 hour
paths:
- htmlcov
- dist
test_recoverycli_py3_u18_04:
image: greenaddress/wallycore@sha256:059eeaa5c61df5403fd28d6ea556c317d5809f7274e27901d0f09288a316bb53
tags:
- ga
script:
- cd $CI_PROJECT_DIR
- virtualenv -p python3 venv
- source venv/bin/activate
- pip install --require-hashes -r tools/requirements_dev.txt --cache-dir deps_cache
- ./tools/dobuild.sh
artifacts:
expire_in: 1 hour
paths:
- htmlcov
- dist
test_recoverycli_py3_u19_04:
image: greenaddress/wallycore@sha256:dd66cf18815756de37238c5fdfafc38c80076ce93d9ce644e517143894f24350
tags:
- ga
script:
- cd $CI_PROJECT_DIR
- virtualenv -p python3 venv
- source venv/bin/activate
- pip install --require-hashes -r tools/requirements_dev.txt --cache-dir deps_cache
- ./tools/dobuild.sh
artifacts:
expire_in: 1 hour
paths:
- htmlcov
- dist
pages:
stage: deploy
dependencies:
- test_recoverycli_py3_buster
script:
- mv htmlcov/ public/
artifacts:
paths:
- public
expire_in: 30 days
only:
- master
test_osx_py3:
tags:
- osx
script:
- cd $CI_PROJECT_DIR
- virtualenv -p python3 venv
- source venv/bin/activate
- pip install --upgrade setuptools pip
- pip install --require-hashes -r tools/requirements_dev.txt --cache-dir deps_cache
- ./tools/dobuild.sh
artifacts:
expire_in: 1 hour
paths:
- htmlcov
- dist
test_windows_py3:
tags:
- win10
script:
- cd %CI_PROJECT_DIR%
- call tools\dobuild.bat
artifacts:
expire_in: 1 hour
paths:
- htmlcov
- dist