forked from Exa-Networks/exabgp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (42 loc) · 1.42 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:
- pip install coveralls --use-mirrors
- pip install psutil --use-mirrors
- pip install scrutinizer-ocular --use-mirrors
script:
- export INTERPRETER=python
- 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
# - ./sbin/exabgp qa/conf/attributes.conf --decode FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF:004902:0000002D400101004002004003040A00FF0740050400000064800E150002011020010DB800000000000000000000000100200A000007
- env ETC=`pwd`/etc/exabgp 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: false