tests: don't test for specific device labels
[pygobject.git] / .gitlab-ci.yml
blob3a25c6a63f535665148d1ca6bb83a72df91c8bde
1 image: registry.gitlab.gnome.org/gnome/pygobject/main:v8
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.6"
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   variables:
63     PYTHON: "python2"
64     MSYSTEM: "MINGW64"
65     CHERE_INVOKING: "yes"
66   <<: *mingw-defaults
68 python3-mingw32:
69   variables:
70     PYTHON: "python3"
71     MSYSTEM: "MINGW32"
72     CHERE_INVOKING: "yes"
73   <<: *mingw-defaults
75 python3-mingw64:
76   variables:
77     PYTHON: "python3"
78     MSYSTEM: "MINGW64"
79     CHERE_INVOKING: "yes"
80   <<: *mingw-defaults
82 python2.7:
83   variables:
84     PYENV_VERSION: "2.7.15-debug"
85   <<: *defaults
87 python3.5:
88   variables:
89     PYENV_VERSION: "3.5.6"
90   <<: *defaults
92 python3.6:
93   variables:
94     PYENV_VERSION: "3.6.6"
95   <<: *defaults
97 python3.7:
98   variables:
99     PYENV_VERSION: "3.7.0-debug"
100   <<: *defaults
102 pypy2:
103   allow_failure: true
104   variables:
105     PYENV_VERSION: "pypy2.7-6.0.0"
106   <<: *defaults
108 pypy3:
109   allow_failure: true
110   variables:
111     PYENV_VERSION: "pypy3.5-6.0.0"
112   <<: *defaults
114 xenial-i386-py2:
115   stage: build_and_test
116   image: registry.gitlab.gnome.org/gnome/pygobject/old:v2
117   script:
118    - bash -x ./.gitlab-ci/test-docker-old.sh
120 gnome-master:
121   allow_failure: true
122   stage: build_and_test
123   image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
124   script:
125     - xvfb-run -a flatpak run --filesystem=host --share=network --socket=x11 --command=bash org.gnome.Sdk//master -x .gitlab-ci/test-flatpak.sh