forked from Exa-Networks/exabgp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (43 loc) · 1.22 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
47
48
49
50
language: python
python:
- "2.6"
- "2.7"
- "pypy"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y python-pip python-dev
install:
- sudo pip install coveralls
- sudo pip install psutil
- sudo pip install scrutinizer-ocular
script:
- export INTERPRETER=python
- export SKIPCLEANUP=exabgp
- sbin/exabgp --version
- sbin/exabgp --fi > etc/exabgp/exabgp.env
- set pipefail
- ./qa/bin/parsing
- ./qa/bin/conversation
- ./sbin/exabgp qa/conf/api-open.conf --decode FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF:003C:02:0000001C4001010040020040030465016501800404000000C840050400000064000000002001010101
- env exabgp_log_enable=false nosetests --with-coverage ./qa/tests/*_test.py
# - coverage run -m unittest discover -s qa/tests -p *_test.py
after_success:
- coveralls
- ocular
notifications:
irc:
channels: "irc.freenode.org#exabgp"
template:
- "%{repository}@%{branch}: %{message} (%{build_url})"
on_success: change
on_failure: change
email: true
webhooks:
urls:
- https://webhooks.gitter.im/e/48936e41bd3f866cce4e
# options: [always|never|change] default: always
on_success: always
on_failure: always
on_start: false
sudo: required
dist: trusty