lnav/.travis.yml
2017-03-31 07:13:01 -07:00

38 lines
1.1 KiB
YAML

dist: trusty
language: cpp
compiler: gcc
sudo: false
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi
script: ./autogen.sh && ./configure && make distcheck -j3
after_script: test -e test/test-suite.log && cat test/test-suite.log
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: "P3wQLswiGYWrZwO4bxFmsA4XG5s/pS+renL0RMeotMTQwQQXmy1ZCvwMnAgaYWQmF82fN8WjuhO3OX0gpDbydxRktqI5ZqblsryV6poB0g+OkCqThbDUp3TL6TjPqySTI1CZ8qoOBYFMubAZYVJAEfxl0UxoQE+uTsRarRqr8rI="
cache:
apt: true
addons:
apt:
packages:
- libgpm-dev
- gcc-5
- g++-5
- sqlite3
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: timothyshanestack@gmail.com
build_command_prepend: ./autogen.sh && ./configure
build_command: make
branch_pattern: coverity_scan