-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
48 lines (43 loc) · 971 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
47
48
sudo: False
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}"
- pip install -U tox
- pip install -U cchttpserver
- gpg2 --version
# - util/custom-gpg.sh
before_install:
- sudo apt-get install gnupg2
- sudo apt-get install rng-tools
- sudo rngd -r /dev/urandom
env:
global:
- GPG_VERSION='2.1.18'
matrix:
- TESTENV=lint
- TESTENV=py27
# - TESTENV=py35
before_script:
- CCHTTPSERVER_CONFIG=.travis/cchttpserver.config.py python -m cchttpserver &
script:
- gpg2 --version
- echo $PATH
- which gpg2
- tox -i https://m.devpi.net/hpk/dev/ -e $TESTENV --recreate -- tests/ --with-plugins
#notifications:
# irc:
# channels:
# - "chat.freenode.net#autocrypt"
# on_success: change
# on_failure: change
# skip_join: true
# email: