2016-06-02 00:36:30 +00:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2017-12-21 18:44:59 +00:00
|
|
|
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:
|
2017-12-22 16:47:53 +00:00
|
|
|
- test -z "$TESTS_ONLY" || python -m unittest discover -v imgconverter -p test.py
|
2017-12-21 18:44:59 +00:00
|
|
|
- test -n "$TESTS_ONLY" || ~/qubes-builder/scripts/travis-build
|
2016-06-02 00:36:30 +00:00
|
|
|
env:
|
2017-04-08 12:15:51 +00:00
|
|
|
- DIST_DOM0=fc25 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
|
|
|
- DISTS_VM=fc24 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
|
|
|
- DISTS_VM=fc25 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
2017-09-29 19:13:16 +00:00
|
|
|
- DISTS_VM=fc26 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
2017-04-08 12:15:51 +00:00
|
|
|
- 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
|
2017-12-21 19:12:16 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- env: TESTS_ONLY=1
|
|
|
|
python: 2.7
|
|
|
|
- env: TESTS_ONLY=1
|
|
|
|
python: 3.4
|
|
|
|
- env: TESTS_ONLY=1
|
|
|
|
python: 3.5
|
2017-12-21 19:58:24 +00:00
|
|
|
- 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:
|
|
|
|
- /.*_.*/
|
|
|
|
|