diff options
author | Neal Gompa <ngompa13@gmail.com> | 2019-06-08 10:29:52 -0400 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2019-06-27 15:13:39 +0200 |
commit | ae59870e90c949c59a73ea3dd0b05a486471360b (patch) | |
tree | fc0ee74bfee2c4d8242f8cd298f9112805ed8da9 /.gitlab-ci.yml | |
parent | a434da7f053262f789859e8506dbb8f22cec8c04 (diff) | |
download | m2crypto-ae59870e90c949c59a73ea3dd0b05a486471360b.tar.gz |
CI: Rework Fedora CI configuration
Upgrade Fedora environments to Fedora 30 since Fedora 26 has been long EOL.
In addition, rename them so Python 2 is the non-default environment.
Finally, add a Fedora Rawhide environment to validate M2Crypto there,
similarly to how it is validated on openSUSE Tumbleweed.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b864651..d7229e7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,16 +38,24 @@ python3: - 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:26 + image: fedora:30 when: always script: - dnf install --refresh -y @development-tools fedora-packager rpmdevtools - - dnf install -y swig python-devel openssl-devel openssl python-setuptools python-twisted - - python setup.py clean build test + - dnf install -y swig python3-devel openssl-devel openssl python3-setuptools python3-twisted + - python3 setup.py clean build test -fedora3: - image: fedora:26 +fedora-rawhide: + image: registry.fedoraproject.org/fedora:rawhide when: always script: - dnf install --refresh -y @development-tools fedora-packager rpmdevtools |