forked from marmarek/qubes-app-linux-split-gpg2
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
46 lines (42 loc) · 1.37 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
sudo: required
dist: xenial
language: python
python: '3.5'
install: git clone https://github.com/QubesOS/qubes-builder ~/qubes-builder
script: ~/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=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
- DIST_DOM0=fc29 USE_QUBES_REPO_VERSION=4.1 USE_QUBES_REPO_TESTING=1
jobs:
include:
- python: '3.5'
install: pip install --quiet pylint
script: pylint splitgpg2
- python: '3.5'
install: pip install --quiet coverage codecov
script: python -m coverage run -m unittest discover -v
- python: '3.6'
install: pip install --quiet coverage codecov
script: python -m coverage run -m unittest discover -v
- python: '3.7'
install: pip install --quiet coverage codecov
script: python -m coverage run -m unittest discover -v
- stage: deploy
python: '3.5'
script: ~/qubes-builder/scripts/travis-deploy
after_success:
- codecov
addons:
apt:
packages:
- socat
- gnupg2
# don't build tags which are meant for code signing only
branches:
except:
- /.*_.*/
- build