forked from CESNET/libyang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (31 loc) · 951 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
35
36
37
38
language: c
compiler:
- clang
os:
- linux
branches:
only:
- master
- devel
- coverity
before_install:
- wget https://cmocka.org/files/1.0/cmocka-1.0.1.tar.xz
- tar -xJvf cmocka-1.0.1.tar.xz
- cd cmocka-1.0.1 && mkdir build && cd build
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
- sudo make install
- cd ../..
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: "dOIHA+29WzdS1GPm2A/2osTIm4GAGP+OCP/CoYN8gZ4W9yxHKY+noJevDtPw+KDQ5wgBKEcqPnLA1gVI6PeRLdxjHpWULzaH9GZsjktK2YNJJkO2kw2tBrXp09ak4jczokaYcdOM1pfXFbTPYRpDHyd4nS8QvFM4nev7xg87zvU="
addons:
coverity_scan:
project:
name: "CESNET/libyang"
notification_email: rkrejci@cesnet.cz
build_command_prepend: "cmake .; make clean"
build_command: "make"
branch_pattern: coverity
script: cmake . && make && make test