-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (29 loc) · 875 Bytes
/
.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
os: linux
dist: xenial
language: python
cache: pip
env:
global:
- PASS_VERSION=1.7.3
jobs:
- TEST_MAGIC=file-magic
- TEST_MAGIC=python-magic
addons:
apt:
packages:
- gnome-keyring
install:
- export PREFIX=$HOME/.bin/usr PATH="$PATH:$HOME/.bin/usr/bin"
- wget https://git.zx2c4.com/password-store/snapshot/password-store-$PASS_VERSION.tar.xz
- tar -xf password-store-$PASS_VERSION.tar.xz
- make --directory=password-store-$PASS_VERSION install
- mkdir -p ~/.local/share/keyrings/
- cp tests/assets/db/gnome-keyring.keyring ~/.local/share/keyrings/pass-import.keyring
- pip3 install green coverage codacy-coverage pyaml defusedxml cryptography pykeepass secretstorage $TEST_MAGIC
script:
- dbus-run-session -- make tests
after_success:
- coverage xml
- python-codacy-coverage -r coverage.xml
notifications:
email: false