forked from rpm-py-installer/rpm-py-installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (63 loc) · 2.15 KB
/
.travis.yml
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
57
58
59
60
61
62
63
dist: bionic
language: bash
services: docker
git:
quiet: true
env:
global:
- DOCKER="docker"
- TARGETS=""
matrix:
include:
# https://fedoraproject.org/wiki/Releases
# https://hub.docker.com/_/fedora/
# Run multi arch cases on only cron mode at first, as it takes 30+ minutes.
- name: fedora_33_s390x
env: IMAGE="s390x/fedora:33" TOXENV="py3" TARGETS="qemu build"
if: type = cron
- name: fedora_33
env: IMAGE="fedora:33" TOXENV="lint-py3,lint-py2,py38-cov" TEST_LINT="true"
- name: fedora_32
env: DOCKER="podman" IMAGE="fedora:32" TOXENV="py37,py27-cov"
script: make test-no-network
- name: fedora_31
env: DOCKER_VOLUME="false" IMAGE="fedora:31" TOXENV="py36,py35,py26"
- name: fedora_rawhide
env: TOXENV="py39"
- name: intg
env: TOXENV="intg"
# https://hub.docker.com/_/centos/
- name: centos_8
env: DOCKERFILE="ci/Dockerfile-centos" IMAGE="centos:8" TOXENV="py36-cov,py27-cov"
- name: centos_7
env: DOCKERFILE="ci/Dockerfile-centos" IMAGE="centos:7" TOXENV="py36,py34-cov,py27"
- name: centos_6
env: DOCKER_VOLUME="false" DOCKERFILE="ci/Dockerfile-centos.6" TOXENV="py27,py26"
# https://hub.docker.com/_/ubuntu/
- name: ubuntu_bionic
env: DOCKERFILE="ci/Dockerfile-ubuntu.bionic" TOXENV="py36-cov,py27-cov"
- name: ubuntu_trusty
env: DOCKERFILE="ci/Dockerfile-ubuntu.trusty" TOXENV="py34,py27"
# https://hub.docker.com/r/opensuse/tumbleweed
- name: opensuse_tumbleweed
env: DOCKERFILE="ci/Dockerfile-opensuse" IMAGE="opensuse/tumbleweed" TOXENV="py3-cov"
# https://hub.docker.com/r/opensuse/leap
- name: opensuse_leap_15
env: DOCKERFILE="ci/Dockerfile-opensuse" IMAGE="opensuse/leap:15" TOXENV="py36-cov,py27-cov"
allow_failures:
- name: fedora_rawhide
fast_finish: true
before_install:
- |
if [ "${DOCKER}" = "podman" ]; then
ci/install_podman_on_ubuntu.sh
fi
install: |
travis_retry make ${TARGETS}
script: |
make test
branches:
except:
# Enable branches except the working in progress branch or
# current pull-request feature/ci-centos.
- /^(wip\/|feature\/ci-centos5)/