-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
29 lines (29 loc) · 893 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
branches:
only:
- master
- integrate_exabgp
addons:
sonarcloud:
organisation: "ouisouss-github"
matrix:
include:
- language: python
python: 2.7
before_script:
- sudo pip install exabgp==3.4.26 Flask
script:
- cd project/exabgp
- sudo mkdir /etc/exabgp
- sudo cp app.py /etc/exabgp/app.py
- env exabgp.daemon.daemonize=false exabgp.log.destination=exabgp.log exabgp exabgp.conf &
- language: python
python: 3.5
before_script:
- pip install -r project/requirements.txt
script:
- nosetests project/backend/tests/*
- cd project
- nosetests --with-xunit --with-coverage --cover-package=backend --cover-inclusive --cover-xml backend/tests/mock/* backend/tests/end-to-end/unittest_base.py
- cd ..
- bash generate-pylint-report.sh
- sonar-scanner