forked from CESNET/Nemea-Supervisor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
58 lines (51 loc) · 2.11 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
51
52
53
54
55
56
57
language: c
compiler:
- gcc
os:
- linux
branches:
only:
- master
- coverity
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: "D2imBRzCuqhwU0SZiejdn7nh2TpYfcFfYNpta8KsQihbJ6v8qw8Um5oHP+KnksPGUGa4uDRCElUUxLq6ixEMwhCNazjXC1MnHhah+EQCkcmXN9bxpxHSRfyU/ydTqHn+hiNl19CgSPDwMankPR6GdP/2BgX+C5RkZaIt7MLkH3HQhQiXSXiboxzPRivPHrxtirojhvVHQpXaX0NB//rMpsuQ52SdJjNJ/9yT6L9fg3BVq6VhJ83nsY3LUQSWG5+rjhwTI2jXoSJUR7c9k+0eLaIsnJlNYeklgZwsiWmknEKWNFcgX9tOVTboHjkl0OasRyo+Ijow73Acnf55wDr7rvPqiGmipDZ/YjQNHIOF7vki6JQhEqrP4JVV3LPkqCok7LjOYb65/0zFmVU+pJOJVd8ZR09QxtC47VAlOqkyjL8yJimZey3oL7CKp6VuguCwm0ADjjiNR0Iph7jjhV5GoP4oMrbS2Z1hN9yzPSX3OHVAumnIzCrpDtI42mz9G0RjKSDXwTgpPn7FuNfwTy9DKwVB7vGWcU8XlEaJ0vLxGX+jz1eOCCMtDK3HyPGRFqmfzxaRzs3bDEyp91IbAi02Zk6TxfxDQKeH/OhmGDhM72aaRblk3yOtdUw/ApF6YNIRmfQefAID7Znf3SSRSmGwHnW+f9N63LpSL5Ms0w3E6Xc="
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc
- g++
- autoconf
- pkg-config
- make
- automake
- libxml2-dev
- libxml2
coverity_scan:
project:
name: "CESNET/Nemea-Supervisor"
description: "Nemea Supervisor - management and monitoring Nemea module"
notification_email: [email protected]
build_command_prepend: "./bootstrap.sh && ./configure -q && make clean"
build_command: "make"
branch_pattern: coverity
before_install:
- ( git clone https://github.com/CESNET/Nemea-Framework; cd Nemea-Framework; ./bootstrap.sh && ./configure -q --prefix=/usr && make -j10 && sudo make install; )
after_success:
- bash <(curl -s https://codecov.io/bash)
script:
- ./bootstrap.sh && ./configure && make distcheck
- mkdir dist-pkgs && cp *.spec *.tar.gz dist-pkgs && (cd dist-pkgs/"$d"; tar --strip-components=1 -xf *.tar.gz;)
- ./configure -q --enable-debug CXXFLAGS=-coverage CFLAGS=-coverage LDFLAGS=-lgcov && make clean && make check
deploy:
provider: pages
skip_cleanup: true
local_dir: dist-pkgs
github_token: $GITHUB_TOKEN
target_branch: dist-packages
on:
branch: master