2020-05-17 10:02:00 +02:00
|
|
|
import:
|
|
|
|
- source: QubesOS/qubes-continuous-integration:R4.1/travis-base-r4.1.yml
|
|
|
|
mode: deep_merge_prepend
|
|
|
|
- source: QubesOS/qubes-continuous-integration:R4.1/travis-dom0-r4.1.yml
|
2016-05-25 01:25:40 +02:00
|
|
|
python:
|
2019-10-23 04:41:37 +02:00
|
|
|
- '3.6'
|
2020-05-18 14:17:45 +02:00
|
|
|
language: python
|
2019-03-15 20:55:17 +01:00
|
|
|
virtualenv:
|
|
|
|
system_site_packages: true
|
|
|
|
services:
|
|
|
|
- xvfb
|
2016-06-13 19:03:46 +02:00
|
|
|
install:
|
2019-03-15 20:55:17 +01:00
|
|
|
- sudo apt-get -y install python3-gi gir1.2-gtk-3.0
|
2020-05-18 14:17:45 +02:00
|
|
|
- pip3 install --quiet -r ci/requirements.txt
|
2016-06-16 14:30:50 +02:00
|
|
|
- git clone https://github.com/"${TRAVIS_REPO_SLUG%%/*}"/qubes-builder ~/qubes-builder
|
2020-02-21 05:39:15 +01:00
|
|
|
- git clone https://github.com/"${TRAVIS_REPO_SLUG%%/*}"/qubes-core-qrexec ~/qubes-core-qrexec
|
2016-05-25 01:25:40 +02:00
|
|
|
script:
|
2020-02-21 05:39:15 +01:00
|
|
|
- PYTHONPATH=test-packages:~/qubes-core-qrexec pylint qubes
|
|
|
|
- PYTHONPATH=test-packages:~/qubes-core-qrexec ./run-tests
|
2016-06-16 14:30:50 +02:00
|
|
|
after_success:
|
2017-06-02 12:31:07 +02:00
|
|
|
- codecov -F unittests
|
2016-06-16 14:30:50 +02:00
|
|
|
- ~/qubes-builder/scripts/travis-deploy
|
2016-06-16 12:54:06 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- debootstrap
|