summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 33bd5259eb3294703d5fefe5959a3f8b8c6e712e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
dist: focal
language: minimal

services:
  - docker

env:
  - DIST=fedora PKGMGR=dnf
  - DIST=debian PKGMGR=aptcc

before_script:
  - docker build -t packagekit-${DIST} -f tests/ci/Dockerfile-${DIST} .

script:
  - docker build -t packagekit-${DIST} -f tests/ci/Dockerfile-${DIST} .
  - docker run -t -v `pwd`:/build packagekit-${DIST} ./tests/ci/build_and_test.sh -Dpackaging_backend=${PKGMGR}