2019-11-15 20:35:08 +00:00
|
|
|
# Generated by scripts/generate_travis_yml.py
|
2019-04-11 21:16:48 +01:00
|
|
|
|
2019-11-15 20:35:08 +00:00
|
|
|
dist: bionic
|
2019-04-11 21:16:48 +01:00
|
|
|
|
2019-11-15 20:35:08 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- language: python
|
|
|
|
python: 3.8
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libbz2-dev
|
|
|
|
- liblzma-dev
|
|
|
|
- zlib1g-dev
|
|
|
|
install:
|
|
|
|
script: python setup.py build -j "$(nproc)" test
|
|
|
|
- language: python
|
|
|
|
python: 3.7
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libbz2-dev
|
|
|
|
- liblzma-dev
|
|
|
|
- zlib1g-dev
|
|
|
|
install:
|
|
|
|
script: python setup.py build -j "$(nproc)" test
|
|
|
|
- language: python
|
|
|
|
python: 3.6
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libbz2-dev
|
|
|
|
- liblzma-dev
|
|
|
|
- zlib1g-dev
|
|
|
|
install:
|
|
|
|
script: python setup.py build -j "$(nproc)" test
|
2020-02-10 20:43:25 +00:00
|
|
|
- name: "vmtest Linux 5.6"
|
2019-12-12 01:33:22 +00:00
|
|
|
language: minimal
|
2020-02-10 20:43:25 +00:00
|
|
|
env: KERNEL=5.6
|
2019-12-12 01:33:22 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-01-10 01:06:01 +00:00
|
|
|
- python3
|
|
|
|
- python3-setuptools
|
2019-12-12 01:33:22 +00:00
|
|
|
- qemu-kvm
|
|
|
|
- rsync
|
|
|
|
- zstd
|
|
|
|
install: sudo adduser "$USER" kvm
|
|
|
|
before_script:
|
|
|
|
# The double sudo is necessary to pick up the new group membership.
|
2020-03-28 00:13:44 +00:00
|
|
|
- sudo -E sudo -E -u "$USER" vmtest/run.sh -k "$KERNEL"'.*' -o -d ~ ~/root.img; exitstatus=$?
|
2019-12-12 01:33:22 +00:00
|
|
|
# Exit status 0 is success, 1 is test failure (should fail in the script
|
|
|
|
# step), anything else is an error (should fail here).
|
|
|
|
- test $exitstatus -le 1
|
|
|
|
script: test $exitstatus -eq 0
|
2020-02-10 20:43:25 +00:00
|
|
|
- name: "vmtest Linux 5.5"
|
2019-11-15 20:35:08 +00:00
|
|
|
language: minimal
|
2020-02-10 20:43:25 +00:00
|
|
|
env: KERNEL=5.5
|
2019-11-15 20:35:08 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-01-10 01:06:01 +00:00
|
|
|
- python3
|
|
|
|
- python3-setuptools
|
2019-11-15 20:35:08 +00:00
|
|
|
- qemu-kvm
|
2019-11-27 00:10:25 +00:00
|
|
|
- rsync
|
2019-11-15 20:35:08 +00:00
|
|
|
- zstd
|
|
|
|
install: sudo adduser "$USER" kvm
|
|
|
|
before_script:
|
|
|
|
# The double sudo is necessary to pick up the new group membership.
|
2020-03-28 00:13:44 +00:00
|
|
|
- sudo -E sudo -E -u "$USER" vmtest/run.sh -k "$KERNEL"'.*' -o -d ~ ~/root.img; exitstatus=$?
|
2019-11-15 20:35:08 +00:00
|
|
|
# Exit status 0 is success, 1 is test failure (should fail in the script
|
|
|
|
# step), anything else is an error (should fail here).
|
|
|
|
- test $exitstatus -le 1
|
|
|
|
script: test $exitstatus -eq 0
|
2020-02-10 20:43:25 +00:00
|
|
|
- name: "vmtest Linux 5.4"
|
2019-11-15 20:35:08 +00:00
|
|
|
language: minimal
|
2020-02-10 20:43:25 +00:00
|
|
|
env: KERNEL=5.4
|
2019-11-15 20:35:08 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-01-10 01:06:01 +00:00
|
|
|
- python3
|
|
|
|
- python3-setuptools
|
2019-11-15 20:35:08 +00:00
|
|
|
- qemu-kvm
|
2019-11-27 00:10:25 +00:00
|
|
|
- rsync
|
2019-11-15 20:35:08 +00:00
|
|
|
- zstd
|
|
|
|
install: sudo adduser "$USER" kvm
|
|
|
|
before_script:
|
|
|
|
# The double sudo is necessary to pick up the new group membership.
|
2020-03-28 00:13:44 +00:00
|
|
|
- sudo -E sudo -E -u "$USER" vmtest/run.sh -k "$KERNEL"'.*' -o -d ~ ~/root.img; exitstatus=$?
|
2019-11-15 20:35:08 +00:00
|
|
|
# Exit status 0 is success, 1 is test failure (should fail in the script
|
|
|
|
# step), anything else is an error (should fail here).
|
|
|
|
- test $exitstatus -le 1
|
|
|
|
script: test $exitstatus -eq 0
|
|
|
|
- name: "vmtest Linux 4.19"
|
|
|
|
language: minimal
|
|
|
|
env: KERNEL=4.19
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-01-10 01:06:01 +00:00
|
|
|
- python3
|
|
|
|
- python3-setuptools
|
2019-11-15 20:35:08 +00:00
|
|
|
- qemu-kvm
|
2019-11-27 00:10:25 +00:00
|
|
|
- rsync
|
2019-11-15 20:35:08 +00:00
|
|
|
- zstd
|
|
|
|
install: sudo adduser "$USER" kvm
|
|
|
|
before_script:
|
|
|
|
# The double sudo is necessary to pick up the new group membership.
|
2020-03-28 00:13:44 +00:00
|
|
|
- sudo -E sudo -E -u "$USER" vmtest/run.sh -k "$KERNEL"'.*' -o -d ~ ~/root.img; exitstatus=$?
|
2019-11-15 20:35:08 +00:00
|
|
|
# Exit status 0 is success, 1 is test failure (should fail in the script
|
|
|
|
# step), anything else is an error (should fail here).
|
|
|
|
- test $exitstatus -le 1
|
|
|
|
script: test $exitstatus -eq 0
|
|
|
|
- name: "vmtest Linux 4.14"
|
|
|
|
language: minimal
|
|
|
|
env: KERNEL=4.14
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-01-10 01:06:01 +00:00
|
|
|
- python3
|
|
|
|
- python3-setuptools
|
2019-11-15 20:35:08 +00:00
|
|
|
- qemu-kvm
|
2019-11-27 00:10:25 +00:00
|
|
|
- rsync
|
2019-11-15 20:35:08 +00:00
|
|
|
- zstd
|
|
|
|
install: sudo adduser "$USER" kvm
|
|
|
|
before_script:
|
|
|
|
# The double sudo is necessary to pick up the new group membership.
|
2020-03-28 00:13:44 +00:00
|
|
|
- sudo -E sudo -E -u "$USER" vmtest/run.sh -k "$KERNEL"'.*' -o -d ~ ~/root.img; exitstatus=$?
|
2019-11-15 20:35:08 +00:00
|
|
|
# Exit status 0 is success, 1 is test failure (should fail in the script
|
|
|
|
# step), anything else is an error (should fail here).
|
|
|
|
- test $exitstatus -le 1
|
|
|
|
script: test $exitstatus -eq 0
|
|
|
|
- name: "vmtest Linux 4.9"
|
|
|
|
language: minimal
|
|
|
|
env: KERNEL=4.9
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-01-10 01:06:01 +00:00
|
|
|
- python3
|
|
|
|
- python3-setuptools
|
2019-11-15 20:35:08 +00:00
|
|
|
- qemu-kvm
|
2019-11-27 00:10:25 +00:00
|
|
|
- rsync
|
2019-11-15 20:35:08 +00:00
|
|
|
- zstd
|
|
|
|
install: sudo adduser "$USER" kvm
|
|
|
|
before_script:
|
|
|
|
# The double sudo is necessary to pick up the new group membership.
|
2020-03-28 00:13:44 +00:00
|
|
|
- sudo -E sudo -E -u "$USER" vmtest/run.sh -k "$KERNEL"'.*' -o -d ~ ~/root.img; exitstatus=$?
|
2019-11-15 20:35:08 +00:00
|
|
|
# Exit status 0 is success, 1 is test failure (should fail in the script
|
|
|
|
# step), anything else is an error (should fail here).
|
|
|
|
- test $exitstatus -le 1
|
|
|
|
script: test $exitstatus -eq 0
|
|
|
|
- name: "vmtest Linux 4.4"
|
|
|
|
language: minimal
|
|
|
|
env: KERNEL=4.4
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-01-10 01:06:01 +00:00
|
|
|
- python3
|
|
|
|
- python3-setuptools
|
2019-11-15 20:35:08 +00:00
|
|
|
- qemu-kvm
|
2019-11-27 00:10:25 +00:00
|
|
|
- rsync
|
2019-11-15 20:35:08 +00:00
|
|
|
- zstd
|
|
|
|
install: sudo adduser "$USER" kvm
|
|
|
|
before_script:
|
|
|
|
# The double sudo is necessary to pick up the new group membership.
|
2020-03-28 00:13:44 +00:00
|
|
|
- sudo -E sudo -E -u "$USER" vmtest/run.sh -k "$KERNEL"'.*' -o -d ~ ~/root.img; exitstatus=$?
|
2019-11-15 20:35:08 +00:00
|
|
|
# Exit status 0 is success, 1 is test failure (should fail in the script
|
|
|
|
# step), anything else is an error (should fail here).
|
|
|
|
- test $exitstatus -le 1
|
|
|
|
script: test $exitstatus -eq 0
|