summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: f24fd317840115f72a2a9413695b35fca899b7d2 (plain)
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
python27:
    image: python:2.7
    when: always
    script:
        - apt-get update -q -y
        - apt-get install -y swig libssl-dev python-dev openssl python-twisted python-setuptools
        - python setup.py clean build test

python35:
    image: python:3.5
    when: always
    script:
        - apt-get update -q -y
        - apt-get install -y swig libssl-dev python3-dev openssl python3-setuptools python3-twisted
        - python3 setup.py clean build test

python3:
    image: python:3
    when: always
    script:
        - apt-get update -q -y
        - apt-get install -y swig libssl-dev python3-dev openssl python3-setuptools python3-twisted
        - python3 setup.py clean build test

fedora-py2:
    image: fedora:30
    when: always
    script:
        - dnf install --refresh -y @development-tools fedora-packager rpmdevtools
        - dnf install -y swig python2-devel openssl-devel openssl python2-setuptools python2-twisted
        - python2 setup.py clean build test

fedora:
    image: fedora:30
    when: always
    script:
        - dnf install --refresh -y @development-tools fedora-packager rpmdevtools
        - dnf install -y swig python3-devel openssl-devel openssl python3-setuptools python3-twisted
        - python3 setup.py clean build test

fedora-rawhide:
    image: registry.fedoraproject.org/fedora:rawhide
    when: always
    script:
        - dnf install --refresh -y @development-tools fedora-packager rpmdevtools
        - dnf install -y swig python3-devel openssl-devel openssl python3-setuptools python3-twisted
        - python3 setup.py clean build test

opensuse:
    image: opensuse/tumbleweed
    when: always
    script:
        - zypper refresh
        - zypper install -y pattern:devel_rpm_build pattern:devel_C_C++ osc
        - zypper install -y swig python3-devel libopenssl-1_1-devel python3-service_identity python3-setuptools python3-Twisted
        - python3 setup.py clean build test