forked from tstack/lnav
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (44 loc) · 1.51 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
dist: xenial
language: cpp
compiler: gcc
sudo: false
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi
script: ./autogen.sh && ./configure LDFLAGS="-static-libstdc++ -static-libgcc" && make distcheck -j3
after_script: test -e lnav-*/_build/sub/test/test-suite.log && cat lnav-*/_build/sub/test/test-suite.log
env:
global:
- LDFLAGS: -static-libstdc++ -static-libgcc
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "P3wQLswiGYWrZwO4bxFmsA4XG5s/pS+renL0RMeotMTQwQQXmy1ZCvwMnAgaYWQmF82fN8WjuhO3OX0gpDbydxRktqI5ZqblsryV6poB0g+OkCqThbDUp3TL6TjPqySTI1CZ8qoOBYFMubAZYVJAEfxl0UxoQE+uTsRarRqr8rI="
cache:
apt: true
addons:
apt:
packages:
- libgpm-dev
- gcc-5
- g++-5
- sqlite3
- language-pack-fr
sources:
- ubuntu-toolchain-r-test
- sourceline: deb http://cz.archive.ubuntu.com/ubuntu xenial main
coverity_scan:
project:
name: tstack/lnav
description: Your project description here
notification_email: [email protected]
build_command_prepend: ./autogen.sh && ./configure
build_command: make
branch_pattern: coverity_scan
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: BQOrhEaDcR53WPGDmBj8UcCtcUjmuTb5g4u1oNhIiF0G5+8UweXOquLf8c52uIkUBYuruc/TB7qWGNisO3skSTh9t8+6v6PE1EAwk5PzavsQqqCmGF32izw75B8TC6SFWQY7AFyKjIc/bHxyz0FA0L2YtvMREtF3jF9ezGek07Y=
file: lnav*.zip
file_glob: true
on:
tags: true