ea433821ac
3.4 is no longer available in bionic-based travis. Use this occasion to
add 3.6 and 3.7.
QubesOS/qubes-issues#4613
(cherry picked from commit 9f0dc7dc34
)
41 lines
1.3 KiB
YAML
41 lines
1.3 KiB
YAML
sudo: required
|
|
dist: bionic
|
|
language: python
|
|
python:
|
|
- '2.7'
|
|
install:
|
|
- test -z "$TESTS_ONLY" || pip install -r ci/requirements.txt
|
|
- test -n "$TESTS_ONLY" || git clone https://github.com/QubesOS/qubes-builder ~/qubes-builder
|
|
script:
|
|
- test -z "$TESTS_ONLY" || python -m unittest discover -v imgconverter -p test.py
|
|
- test -n "$TESTS_ONLY" || ~/qubes-builder/scripts/travis-build
|
|
env:
|
|
- DIST_DOM0=fc25 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
|
- DISTS_VM=fc29 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
|
- DISTS_VM=fc30 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
|
- DISTS_VM=jessie USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
|
- DISTS_VM=stretch USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
|
- DISTS_VM=buster USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
|
- DISTS_VM=centos7 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
|
|
|
jobs:
|
|
include:
|
|
- env: TESTS_ONLY=1
|
|
python: 2.7
|
|
- env: TESTS_ONLY=1
|
|
python: 3.5
|
|
- env: TESTS_ONLY=1
|
|
python: 3.6
|
|
- env: TESTS_ONLY=1
|
|
python: 3.7
|
|
- stage: deploy
|
|
python: 3.5
|
|
env: DIST_DOM0=fc25 TESTS_ONLY=
|
|
script: ~/qubes-builder/scripts/travis-deploy
|
|
|
|
# don't build tags which are meant for code signing only
|
|
branches:
|
|
except:
|
|
- /.*_.*/
|
|
|