2016-06-02 11:29:38 +02:00
|
|
|
sudo: required
|
2019-10-19 21:44:22 +02:00
|
|
|
dist: bionic
|
2016-05-25 01:25:40 +02:00
|
|
|
language: python
|
|
|
|
python:
|
2019-10-23 04:41:37 +02:00
|
|
|
- '3.6'
|
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
|
2016-06-16 13:07:53 +02:00
|
|
|
- pip 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
|
2016-05-25 01:25:40 +02:00
|
|
|
script:
|
2019-09-25 01:10:22 +02:00
|
|
|
- PYTHONPATH=test-packages pylint qubes
|
2019-09-28 03:43:51 +02:00
|
|
|
- ./run-tests
|
2016-06-13 19:03:46 +02:00
|
|
|
- ~/qubes-builder/scripts/travis-build
|
2016-06-02 11:29:38 +02:00
|
|
|
env:
|
2018-11-22 17:11:25 +01:00
|
|
|
- DIST_DOM0=fc29 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
2016-06-16 12:54:06 +02:00
|
|
|
|
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 17:28:34 +02:00
|
|
|
# don't build tags which are meant for code signing only
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- /.*_.*/
|
|
|
|
|
2016-06-16 12:54:06 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- debootstrap
|
|
|
|
|
|
|
|
# vim: ts=2 sts=2 sw=2 et
|