forked from greenaddress/garecovery
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.gitlab-ci.yml
106 lines (99 loc) · 2.52 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
cache:
paths:
- deps_cache
test_recoverycli:
image: greenaddress/recovery@sha256:0b6740458301e62a552850b9f641fe98d497ab03ac89f8eaa1c09a8aa80ef514
tags:
- ga
script:
- cd $CI_PROJECT_DIR
- virtualenv -p python2 venv
- source venv/bin/activate
- pip install --require-hashes -r tools/requirements_dev.txt --cache-dir deps_cache
- ./tools/dobuild.sh
artifacts:
paths:
- htmlcov
- dist
test_recoverycli_py3:
image: greenaddress/recovery@sha256:0b6740458301e62a552850b9f641fe98d497ab03ac89f8eaa1c09a8aa80ef514
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:
paths:
- htmlcov
- dist
test_recoverycli_py2_u16_04:
image: greenaddress/recovery_ubuntu16.04@sha256:ac3017a1ca59cdb13f57491034973b3848636e6d0c44bdf3af4f13d39aed92b4
tags:
- ga
script:
- cd $CI_PROJECT_DIR
- virtualenv -p python2 venv
- source venv/bin/activate
- pip install --require-hashes -r tools/requirements_dev.txt --cache-dir deps_cache
- ./tools/dobuild.sh
artifacts:
paths:
- htmlcov
- dist
test_recoverycli_py3_u16_04:
image: greenaddress/recovery_ubuntu16.04@sha256:ac3017a1ca59cdb13f57491034973b3848636e6d0c44bdf3af4f13d39aed92b4
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:
paths:
- htmlcov
- dist
pages:
stage: deploy
dependencies:
- test_recoverycli
script:
- mv htmlcov/ public/
artifacts:
paths:
- public
expire_in: 30 days
only:
- master
test_osx:
tags:
- osx
script:
- cd $CI_PROJECT_DIR
- virtualenv -p python2 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:
paths:
- htmlcov
- dist
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:
paths:
- htmlcov
- dist