forked from meefik/PRoot
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
29 lines (23 loc) · 1.07 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
language: c
compiler: gcc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libtalloc-dev uthash-dev libarchive-dev gdb strace realpath
- sudo pip install cpp-coveralls
script: if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then make -C src loader.exe loader-m32.exe build.h && env CFLAGS=--coverage LDFLAGS='--coverage' make -C src proot && env PATH=/bin:/usr/bin:/sbin:/usr/sbin:$PWD/src make -C tests; fi
after_success:
- coveralls --build-root src --exclude tests --gcov-options '\-lp'
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "G2fG/oWcEOiG+RYLCK3XOO/7ZXn4LoiIyOT4fxxJzb43gu/90lEkbwsALqVAAjh/Fn5T4rYqiECeJ0jEhxvWak1pK/jkFshfXzL34yaY8ZLNtwvnFf7+DDtsj1Hx136TEjYuyc/jasoTf/3fNlIX6Oh1BB6c0UtJfHwTfbreRbI="
addons:
coverity_scan:
project:
name: "cedric-vincent/PRoot"
description: "PRoot"
notification_email: cedric.vincent@gmail.com
build_command_prepend:
build_command: make -C src
branch_pattern: coverity_scan