forked from sippy/rtpproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (34 loc) · 817 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
# force run: 1
dist: xenial
language: c
compiler:
- clang
- gcc
python:
- "3.6"
sudo: required
before_install:
- sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
- sudo apt-get -y install python3-pip python-dev
- sudo pip3 install -U setuptools
- sudo pip3 install -U virtualenvwrapper
- which python
- python --version
# - sudo -H PATH="${PATH}:/usr/local/clang-3.4/bin" pip3 install -r requirements.txt
- pip3 install --user cpp-coveralls
env:
global:
- COVERALLS_PARALLEL=true
script:
sh -x ./scripts/do-test.sh
after_success:
- for f in `make -f tests/Makefile list_tests`;
do
cat tests/${f}.log;
done
- if [ "${CC}" = "gcc" ];
then
sh -x ./scripts/submit-coverage.sh ;
fi
notifications:
webhooks: https://coveralls.io/webhook