2016-06-01 22:58:42 +02:00
|
|
|
sudo: required
|
2019-10-19 21:45:31 +02:00
|
|
|
dist: bionic
|
2017-05-20 13:05:54 +02:00
|
|
|
language: python
|
|
|
|
python: '3.5'
|
2016-06-01 22:58:42 +02:00
|
|
|
install: git clone https://github.com/QubesOS/qubes-builder ~/qubes-builder
|
|
|
|
script: ~/qubes-builder/scripts/travis-build
|
|
|
|
env:
|
2019-04-08 16:16:38 +02:00
|
|
|
- DISTS_VM=fc29 USE_QUBES_REPO_VERSION=4.1 USE_QUBES_REPO_TESTING=1
|
|
|
|
- DISTS_VM=fc30 USE_QUBES_REPO_VERSION=4.1 USE_QUBES_REPO_TESTING=1
|
|
|
|
- DISTS_VM=stretch USE_QUBES_REPO_VERSION=4.1 USE_QUBES_REPO_TESTING=1
|
|
|
|
- DISTS_VM=buster USE_QUBES_REPO_VERSION=4.1 USE_QUBES_REPO_TESTING=1
|
|
|
|
- DISTS_VM=centos7 USE_QUBES_REPO_VERSION=4.1 USE_QUBES_REPO_TESTING=1
|
2017-05-20 13:05:54 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
include:
|
2020-01-27 19:45:02 +01:00
|
|
|
- python: '3.6' # needs to match bionic
|
|
|
|
virtualenv:
|
|
|
|
system_site_packages: true
|
|
|
|
install:
|
|
|
|
- sudo apt-get -y install python3-gi gir1.2-gtk-3.0
|
|
|
|
- pip install --quiet -r ci/requirements.txt
|
2017-05-20 13:05:54 +02:00
|
|
|
env: TESTS_ONLY=1
|
|
|
|
script:
|
|
|
|
- ./run-tests
|
2018-12-15 23:21:10 +01:00
|
|
|
- shellcheck -e SC1117 $(grep -l '^#!/bin/\(ba\)\?sh' $(git ls-files))
|
2017-05-20 13:05:54 +02:00
|
|
|
after_success:
|
|
|
|
- codecov
|
|
|
|
- stage: deploy
|
|
|
|
python: '3.5'
|
2020-01-11 11:38:27 +01:00
|
|
|
env: DIST_DOM0=fc31 TESTS_ONLY=
|
2017-05-20 13:05:54 +02:00
|
|
|
script: ~/qubes-builder/scripts/travis-deploy
|
|
|
|
|
|
|
|
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- /.*_.*/
|
2019-04-08 16:14:05 +02:00
|
|
|
- build
|