forked from hpk42/muacrypt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (42 loc) · 892 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
41
42
43
44
45
46
sudo: required
language: python
dist: trusty
python:
- '3.5'
cache:
directories:
- $HOME/bin
- $HOME/lib
install:
- PATH="$HOME/bin:$PATH"
- export LD_LIBRARY_PATH="$HOME/lib:${LD_LIBRARY_PATH}"
- util/custom-gpg.sh
- gpg2 --version
- pip install -U tox
# if we install gpg2 here we get 2.0 which does not work with the lib.
before_install:
- sudo apt-get install rng-tools
- sudo rngd -r /dev/urandom
env:
global:
- GPG_VERSION='2.1.18'
matrix:
- TESTENV=doc
- TESTENV=py27
- TESTENV=py35
- TESTENV=lint
script:
- cd core
- gpg2 --version
- echo $PATH
- which gpg2
- tox -e $TESTENV --recreate -- --no-test-cache --with-gpg2 tests/
#notifications:
# irc:
# channels:
# - "chat.freenode.net#autocrypt"
# on_success: change
# on_failure: change
# skip_join: true
# email: