Don't crash on multiple calls to GObject.Value.__del__. See !66
[pygobject.git] / .gitlab-ci.yml
blobf53bddf17e32539e81413079302027f2a3e6598d
1 image: registry.gitlab.gnome.org/gnome/pygobject/main:v6
3 stages:
4   - build_and_test
5   - coverage
6   - deploy
8 cache:
9   paths:
10     - _ccache/
12 .defaults: &defaults
13   stage: build_and_test
14   artifacts:
15     paths:
16       - coverage/
17   script:
18    - bash -x ./.gitlab-ci/test-docker.sh
20 .mingw-defaults: &mingw-defaults
21   stage: build_and_test
22   tags:
23     - win32
24   artifacts:
25     paths:
26       - coverage/
27   script:
28     - C:\msys64\usr\bin\pacman --noconfirm -Syyuu
29     - C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2.sh"
31 coverage:
32   stage: coverage
33   artifacts:
34     paths:
35       - coverage/
36   variables:
37     PYENV_VERSION: "3.6.5"
38   script:
39     - bash -x ./.gitlab-ci/coverage-docker.sh
41 pages:
42   stage: deploy
43   dependencies:
44     - coverage
45   script:
46     - mv coverage/ public/
47   artifacts:
48     paths:
49       - public
50     expire_in: 30 days
51   only:
52     - master
54 python2-mingw32:
55   variables:
56     PYTHON: "python2"
57     MSYSTEM: "MINGW32"
58     CHERE_INVOKING: "yes"
59   <<: *mingw-defaults
61 python2-mingw64:
62   when: manual
63   variables:
64     PYTHON: "python2"
65     MSYSTEM: "MINGW64"
66     CHERE_INVOKING: "yes"
67   <<: *mingw-defaults
69 python3-mingw32:
70   when: manual
71   variables:
72     PYTHON: "python3"
73     MSYSTEM: "MINGW32"
74     CHERE_INVOKING: "yes"
75   <<: *mingw-defaults
77 python3-mingw64:
78   variables:
79     PYTHON: "python3"
80     MSYSTEM: "MINGW64"
81     CHERE_INVOKING: "yes"
82   <<: *mingw-defaults
84 python2.7:
85   variables:
86     PYENV_VERSION: "2.7.15"
87   <<: *defaults
89 python3.5:
90   when: manual
91   variables:
92     PYENV_VERSION: "3.5.5"
93   <<: *defaults
95 python3.6:
96   variables:
97     PYENV_VERSION: "3.6.5"
98   <<: *defaults
100 python3.7:
101   variables:
102     PYENV_VERSION: "3.7.0b3"
103   <<: *defaults
105 pypy2:
106   allow_failure: true
107   variables:
108     PYENV_VERSION: "pypy2.7-6.0.0"
109   <<: *defaults
111 pypy3:
112   when: manual
113   allow_failure: true
114   variables:
115     PYENV_VERSION: "pypy3.5-6.0.0"
116   <<: *defaults
118 xenial-i386-py2:
119   stage: build_and_test
120   image: registry.gitlab.gnome.org/gnome/pygobject/old:v2
121   script:
122    - bash -x ./.gitlab-ci/test-docker-old.sh