2014-09-17 11:51:45 +08:00
|
|
|
# Travis CI integration
|
2015-09-10 18:00:02 +08:00
|
|
|
# Defaults to GNU GCC and autotools: ./configure && make && make test
|
2014-09-17 11:51:45 +08:00
|
|
|
language: c
|
2015-09-10 18:00:02 +08:00
|
|
|
|
|
|
|
# We don't need to install packages, use dockerized build, quicker
|
|
|
|
sudo: false
|
2014-09-17 11:51:45 +08:00
|
|
|
|
2016-01-27 17:12:25 +08:00
|
|
|
# Test build with both GCC and Clang (LLVM)
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
|
2014-09-15 02:00:58 +08:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
|
|
|
|
# via the "travis encrypt" command using the project repo's public key
|
2014-09-17 11:57:41 +08:00
|
|
|
- secure: "iFll6pD0lzVYVRUlbPBGOTB0xqoEsC0BeUdftfRQdnEssruWOEKtf3VH6gSNRu8QMPeTCNhl4fsWUJhnowZgoobi/XcsXxFv/oJQZ1sa7cQUXizeEYUmsDZxUiw/sNsWlUz6dBKPepQStYyOK/tJLQ1GfLi1ESTPt6anokMVDbk="
|
2014-09-15 02:00:58 +08:00
|
|
|
|
|
|
|
addons:
|
|
|
|
coverity_scan:
|
|
|
|
project:
|
|
|
|
name: "troglobit/editline"
|
2018-06-12 04:32:36 +08:00
|
|
|
description: "A small line editing library"
|
2014-09-15 02:00:58 +08:00
|
|
|
notification_email: troglobit@gmail.com
|
2015-09-10 18:00:02 +08:00
|
|
|
build_command_prepend: "./autogen.sh && ./configure --enable-sigstop --enable-terminal-bell"
|
2020-01-05 14:58:13 +08:00
|
|
|
build_command: "make clean all"
|
2016-01-27 17:12:25 +08:00
|
|
|
branch_pattern: dev
|
2014-09-15 02:00:58 +08:00
|
|
|
|
2015-09-10 18:00:02 +08:00
|
|
|
# We don't store generated files (configure and Makefile) in GIT,
|
|
|
|
# so we must customize the default build script to run ./autogen.sh
|
|
|
|
script:
|
|
|
|
- ./autogen.sh
|
|
|
|
- ./configure --enable-sigstop --enable-terminal-bell
|
2020-01-05 14:58:13 +08:00
|
|
|
- make clean all
|