Skip to content
This repository was archived by the owner on Apr 30, 2020. It is now read-only.

Commit 1938887

Browse files
committed
Travis CI: Run on multiple Fedora versions
Now when we have 3.6 and 3.7, this is important
1 parent 1303cc1 commit 1938887

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@ sudo: required
33
services:
44
- docker
55

6+
env:
7+
- FEDORA=27
8+
- FEDORA=28
9+
- FEDORA=29
10+
- FEDORA=rawhide
11+
612
install:
13+
- sed -i "s/fedora-28-x86_64/fedora-${FEDORA}-x86_64/" mock.cfg
14+
- sed -i "s|FROM fedora|FROM registry.fedoraproject.org/fedora:${FEDORA}|" Dockerfile
715
- docker build -t taskotron .
816

917
script:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM fedora
22

33
RUN dnf -y install --setopt=install_weak_deps=false --setopt=tsflags=nodocs \
44
--setopt=deltarpm=false python2-rpm python3-rpm tox python2-dnf \
5-
python3-dnf mock && dnf clean all
5+
python3-dnf mock --allowerasing --best && dnf clean all
66

77
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
88

0 commit comments

Comments
 (0)