debian-forge/.travis.yml
Tom Gundersen 352024830c build-env: drop unnccessary ubuntu build env
Even on ubuntu we can build rpm-based pipelines without bootstrapping
via fedora 27. Drop the build env from the travis config and from our
samples directory.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2020-03-03 00:05:26 +01:00

25 lines
1 KiB
YAML

dist: bionic
language: python
python:
- "3.7"
env:
- PYTHONUNBUFFERED=1
jobs:
include:
- name: pipeline-noop
before_install: sudo apt-get install -y systemd-container
script:
- sudo env "PATH=$PATH" python3 -m osbuild --libdir . samples/noop.json
- sudo env "PATH=$PATH" python3 -m osbuild --libdir . samples/noop.json
- name: sources-tests
before_install: sudo apt-get install -y rpm
script: sudo env "PATH=$PATH" python3 -m unittest -v test.test_sources
- name: f30-boot
before_install: sudo apt-get install -y systemd-container yum qemu-kvm
script: sudo env "PATH=$PATH" python3 -m unittest -v test.test_boot
- name: assemblers
before_install: sudo apt-get install -y systemd-container yum tar qemu-utils nbd-client
script: sudo env "PATH=$PATH" python3 -m unittest -v test.test_assemblers
- name: stage-tests
before_install: sudo apt-get install -y systemd-container yum
script: sudo env "PATH=$PATH" python3 -m unittest -v test.test_stages