2017-02-24 00:42:54 +01:00
|
|
|
sudo: required
|
2019-10-19 21:45:06 +02:00
|
|
|
dist: bionic
|
2017-02-24 00:42:54 +01:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- '2.7'
|
|
|
|
- '3.5'
|
2019-07-29 21:06:20 +02:00
|
|
|
- '3.6'
|
|
|
|
- '3.7'
|
2017-02-24 00:48:37 +01:00
|
|
|
install:
|
2018-09-02 21:50:11 +02:00
|
|
|
- pip install --quiet docutils
|
2017-02-24 00:48:37 +01:00
|
|
|
- pip install --quiet -r ci/requirements.txt
|
2017-02-27 20:20:05 +01:00
|
|
|
- git clone https://github.com/"${TRAVIS_REPO_SLUG%%/*}"/qubes-builder ~/qubes-builder
|
2017-02-24 00:42:54 +01:00
|
|
|
script:
|
2017-04-14 13:26:45 +02:00
|
|
|
- test -z "$TESTS_ONLY" || python setup.py build
|
2018-09-18 16:47:58 +02:00
|
|
|
- test -z "$TESTS_ONLY" || { cd build/lib; PYTHONPATH=../../test-packages pylint --rcfile=../../.pylintrc qubesadmin; }
|
2017-04-14 13:26:45 +02:00
|
|
|
- test -z "$TESTS_ONLY" || { cd build/lib; ROOTDIR=../.. ../../run-tests; }
|
2017-02-27 20:20:05 +01:00
|
|
|
- test -n "$TESTS_ONLY" || ~/qubes-builder/scripts/travis-build
|
|
|
|
env:
|
2017-07-20 14:14:47 +02:00
|
|
|
- TESTS_ONLY=1 ENABLE_SLOW_TESTS=1
|
2017-02-24 00:42:54 +01:00
|
|
|
|
2017-02-27 20:20:05 +01:00
|
|
|
after_success:
|
2017-03-02 00:10:41 +01:00
|
|
|
- codecov
|
2017-02-24 00:42:54 +01:00
|
|
|
|
2017-05-17 13:21:25 +02:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- env: DIST_DOM0=fc25 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
|
2017-05-20 02:32:08 +02:00
|
|
|
python: '3.5'
|
2019-05-30 00:39:28 +02:00
|
|
|
- env: DISTS_VM=fc29 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
|
2017-05-20 02:32:08 +02:00
|
|
|
python: '3.5'
|
2019-05-30 00:39:28 +02:00
|
|
|
- env: DISTS_VM=fc30 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
|
2017-05-20 02:32:08 +02:00
|
|
|
python: '3.5'
|
|
|
|
- env: DISTS_VM=stretch USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
|
|
|
|
python: '3.5'
|
2019-05-30 00:39:28 +02:00
|
|
|
- env: DISTS_VM=buster USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
|
|
|
|
python: '3.5'
|
2017-05-17 13:21:25 +02:00
|
|
|
- stage: deploy
|
|
|
|
python: '3.5'
|
|
|
|
env: DIST_DOM0=fc25 TESTS_ONLY=
|
|
|
|
script: ~/qubes-builder/scripts/travis-deploy
|
|
|
|
|
2017-02-24 00:42:54 +01:00
|
|
|
# don't build tags which are meant for code signing only
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- /.*_.*/
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- debootstrap
|
|
|
|
|
|
|
|
# vim: ts=2 sts=2 sw=2 et
|