forked from phuang/ibus-qt
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
59 lines (53 loc) · 1.1 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
49
50
51
52
53
54
55
56
57
58
language: c
compiler: gcc
os: linux
dist: bionic
branches:
only:
- main
arch:
- amd64
#- ppc64le
#- s390x
#- arm64
addons:
apt:
packages:
# For autogen.sh
- autopoint
# For make from
# https://packages.ubuntu.com/search?searchon=sourcenames&keywords=ibus-qt
- cmake
- doxygen
- libdbus-1-dev
- libibus-1.0-dev
- libicu-dev
# libqt4 is available in bionic(18.04) only
- libqt4-dev
- libx11-dev
- pkg-config
- wget
jobs:
include:
- name: Build
before_script:
- sudo apt-get -qq update
script:
- set -e
- git config pull.rebase false
- git pull --depth=200
# configure options from
# https://salsa.debian.org/debian/ibus-anthy/-/blob/master/debian/rules
- >
cmake .
# Set the cutom DESTDIR because the default DESTDIR
# /home/travis/bulid/fujiwarat/$PKG/ibus/ibus-$VERSION/_inst seems to be
# too long and failed to set DESTDIR to install bindings/pygobject/IBus.py
- >
make
VERBOSE=1
- >
make
package_source
VERBOSE=1
- bash -x ./test/diffdist.sh