-
Notifications
You must be signed in to change notification settings - Fork 21
/
.travis.yml
42 lines (35 loc) · 1.38 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
language: c
compiler:
- clang
- gcc
env:
matrix:
- GTK_VERSION=3
- GTK_VERSION=2
global:
- secure: "BWLy8kmIjokwhLqYxwuvxSaJX38+mmproeZVTbiaJJXHrIbw4TK0nAgE3HmJThdojBnHA+pSj3jCMd6qhon8+NAEjDfofhWkglLV8t8JqoaJT5qunOcnouOL7rALQeLipn6b0EQzMT2wrfRs+aJW529B67TAyA/drMDpYXtr8Dg="
before_install:
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
- export LIBGTK=$([ "${GTK_VERSION}" == 3 ] && echo 'libgtk-3-dev' || echo 'libgtk2.0-dev')
- export LIBVTE=$([ "${GTK_VERSION}" == 3 ] && echo 'libvte-2.91-dev' || echo 'libvte-dev')
- sudo apt-get update -qq
install:
- sudo apt-get -qq install ${LIBGTK} ${LIBVTE} libtinfo-dev libdbus-1-dev libselinux-dev libsystemd-dev
before_script:
- ./autogen.sh
script:
- ./configure $([ "${GTK_VERSION}" == 3 ] && echo '--enable-gtk3')
- make
- make clean
- echo "Now testing Kindle build"
- ./configure --enable-kindle $([ "${GTK_VERSION}" == 3 ] && echo '--enable-gtk3')
- make
addons:
coverity_scan:
project:
name: "bfabiszewski/kterm"
description: "kterm build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "./autogen.sh && ./configure $([ '${GTK_VERSION}' == 3 ] && echo '--enable-gtk3')"
build_command: "make -j 4"
branch_pattern: master