forked from roddhjav/pass-import
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (32 loc) · 884 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
37
38
39
40
sudo: false
dist: xenial
language: python
cache: pip
matrix:
include:
- python: 3.7
- python: 3.6
- python: 3.5
- python: 3.4
env:
global:
- PASS_VERSION=1.7.3
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/db/gnome-keyring.keyring ~/.local/share/keyrings/pass-import.keyring
- pip3 install green coverage codacy-coverage pyaml defusedxml cryptography pykeepass secretstorage
script:
- dbus-run-session -- make tests
after_success:
- coverage xml
- python-codacy-coverage -r coverage.xml
notifications:
email: false