travis: use sourced config, switch to R4.1
This commit is contained in:
parent
77e1e080d7
commit
3e1d36fe4a
90
.travis.yml
90
.travis.yml
@ -1,50 +1,48 @@
|
|||||||
sudo: required
|
import:
|
||||||
dist: bionic
|
- source: QubesOS/qubes-continuous-integration:R4.1/travis-base-r4.1.yml
|
||||||
language: python
|
mode: deep_merge_prepend
|
||||||
python:
|
- source: QubesOS/qubes-continuous-integration:R4.1/travis-dom0-r4.1.yml
|
||||||
- '3.5'
|
- source: QubesOS/qubes-continuous-integration:R4.1/travis-vms-r4.1.yml
|
||||||
- '3.6'
|
|
||||||
- '3.7'
|
|
||||||
install:
|
|
||||||
- pip install --quiet docutils
|
|
||||||
- pip install --quiet -r ci/requirements.txt
|
|
||||||
- git clone https://github.com/"${TRAVIS_REPO_SLUG%%/*}"/qubes-builder ~/qubes-builder
|
|
||||||
script:
|
|
||||||
- test -z "$TESTS_ONLY" || python setup.py build
|
|
||||||
- test -z "$TESTS_ONLY" || { cd build/lib; PYTHONPATH=../../test-packages pylint --rcfile=../../.pylintrc qubesadmin; }
|
|
||||||
- test -z "$TESTS_ONLY" || { cd build/lib; ROOTDIR=../.. ../../run-tests; }
|
|
||||||
- test -n "$TESTS_ONLY" || ~/qubes-builder/scripts/travis-build
|
|
||||||
env:
|
|
||||||
- TESTS_ONLY=1 ENABLE_SLOW_TESTS=1
|
|
||||||
|
|
||||||
after_success:
|
|
||||||
- codecov
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- env: DIST_DOM0=fc25 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
|
- env:
|
||||||
python: '3.5'
|
- ENABLE_SLOW_TESTS=1
|
||||||
- env: DISTS_VM=fc29 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
|
language: python
|
||||||
python: '3.5'
|
python: '3.6'
|
||||||
- env: DISTS_VM=fc30 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
|
install:
|
||||||
python: '3.5'
|
- pip install --quiet -r ci/requirements.txt
|
||||||
- env: DISTS_VM=stretch USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
|
script:
|
||||||
python: '3.5'
|
- python setup.py build
|
||||||
- env: DISTS_VM=buster USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
|
- PYTHONPATH=test-packages pylint qubesadmin
|
||||||
python: '3.5'
|
- ./run-tests
|
||||||
|
after_success:
|
||||||
|
- codecov
|
||||||
|
- env:
|
||||||
|
- ENABLE_SLOW_TESTS=1
|
||||||
|
language: python
|
||||||
|
python: '3.7'
|
||||||
|
install:
|
||||||
|
- pip install --quiet -r ci/requirements.txt
|
||||||
|
script:
|
||||||
|
- python setup.py build
|
||||||
|
- PYTHONPATH=test-packages pylint qubesadmin
|
||||||
|
- ./run-tests
|
||||||
|
after_success:
|
||||||
|
- codecov
|
||||||
|
- env:
|
||||||
|
- ENABLE_SLOW_TESTS=1
|
||||||
|
language: python
|
||||||
|
python: '3.8'
|
||||||
|
install:
|
||||||
|
- pip install --quiet -r ci/requirements.txt
|
||||||
|
script:
|
||||||
|
- python setup.py build
|
||||||
|
- PYTHONPATH=test-packages pylint qubesadmin
|
||||||
|
- ./run-tests
|
||||||
|
after_success:
|
||||||
|
- codecov
|
||||||
- stage: deploy
|
- stage: deploy
|
||||||
python: '3.5'
|
env: DIST_DOM0=fc32
|
||||||
env: DIST_DOM0=fc25 TESTS_ONLY=
|
script:
|
||||||
script: ~/qubes-builder/scripts/travis-deploy
|
- ~/qubes-builder/scripts/travis-deploy
|
||||||
|
|
||||||
# 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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user