mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
.travis.yml: Coverity stuff.
This commit is contained in:
parent
9d3cfe1069
commit
69ed62ce06
26
.travis.yml
26
.travis.yml
@ -5,8 +5,13 @@ perl:
|
|||||||
- "5.18-shrplib"
|
- "5.18-shrplib"
|
||||||
- "system-perl"
|
- "system-perl"
|
||||||
env:
|
env:
|
||||||
- CC=clang
|
matrix:
|
||||||
- CC=gcc
|
- CC=clang
|
||||||
|
- CC=gcc
|
||||||
|
global:
|
||||||
|
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
|
||||||
|
# via the "travis encrypt" command using the project repo's public key
|
||||||
|
- secure: "AbP529m8aj9PFuyHrABi+byWXbWqBBcdT5CLDBKgcMl+8653WmBbE8hE1whX6PuO5QoJ1BOYD3QpYZxJkiLmQFehFAwTqhvDsuG2VlzyHGvEOtzSTZdOWtWUK5kRXlump0XLhRs4XndyQCFrfCk1GNDcEP3Labi3L+y9ENXg15U="
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
@ -15,19 +20,22 @@ addons:
|
|||||||
- elinks
|
- elinks
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
|
- test $TRAVIS_BRANCH != coverity_scan -o ${TRAVIS_JOB_NUMBER##*.} = 1 || exit 0
|
||||||
|
|
||||||
|
install:
|
||||||
|
- test $TRAVIS_BRANCH != coverity_scan || exit 0
|
||||||
- perl -V
|
- perl -V
|
||||||
- ./autogen.sh --with-proxy --with-bot --with-perl=module
|
- ./autogen.sh --with-proxy --with-bot --with-perl=module
|
||||||
- make dist
|
- make dist
|
||||||
- cd ..
|
- cd ..
|
||||||
- tar xaf */irssi-*.tar.*
|
- tar xaf */irssi-*.tar.*
|
||||||
- cd irssi-*
|
- cd irssi-*
|
||||||
|
|
||||||
install:
|
|
||||||
- ./configure --with-proxy --with-bot --with-perl=module --prefix=$HOME/irssi-build
|
- ./configure --with-proxy --with-bot --with-perl=module --prefix=$HOME/irssi-build
|
||||||
- make CFLAGS="-Wall -Werror"
|
- make CFLAGS="-Wall -Werror"
|
||||||
- make install
|
- make install
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
- test $TRAVIS_BRANCH != coverity_scan || exit 0
|
||||||
- cd
|
- cd
|
||||||
- mkdir irssi-test
|
- mkdir irssi-test
|
||||||
- echo echo automated irssi launch test > irssi-test/startup;
|
- echo echo automated irssi launch test > irssi-test/startup;
|
||||||
@ -44,3 +52,13 @@ before_script:
|
|||||||
- cat irc.log.*
|
- cat irc.log.*
|
||||||
|
|
||||||
script: true
|
script: true
|
||||||
|
|
||||||
|
addons:
|
||||||
|
coverity_scan:
|
||||||
|
project:
|
||||||
|
name: "irssi/irssi"
|
||||||
|
description: "Build submitted via Travis CI"
|
||||||
|
notification_email: no
|
||||||
|
build_command_prepend: "./autogen.sh --with-proxy --with-bot"
|
||||||
|
build_command: "make -j 4"
|
||||||
|
branch_pattern: coverity_scan
|
||||||
|
Loading…
Reference in New Issue
Block a user