Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.travis.yml - github.com/majn/telegram-purple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1607239e1faf40c7da112bf794bcde452c8b9e34 (plain)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
language: c
# Select Trusty Tahr.
sudo: required
dist: trusty
# Travis' git submodule support is ... broken? half-broken? Maybe intentional?
git:
  submodules: false
  depth: 3
before_install:
  - git submodule update --init --recursive
  - sudo apt-get update -qq
  - sudo apt-get install -qq gettext libgcrypt20-dev libpurple-dev libssl-dev libwebp-dev
script:
  - ./configure $CONFIGURE_FLAGS
  - make -j2
  - make check
# Test both installation routines:
  - sudo make install
  - make local_install
compiler:
  - clang
  - gcc
env:
# Try to be nice to the builder
  - CONFIGURE_FLAGS=""
  - CONFIGURE_FLAGS="--disable-gcrypt"
  - CONFIGURE_FLAGS="                 --disable-libwebp"
#  - CONFIGURE_FLAGS="--disable-gcrypt --disable-libwebp"
  - CONFIGURE_FLAGS="                                   --disable-translation"
#  - CONFIGURE_FLAGS="--disable-gcrypt                   --disable-translation"
#  - CONFIGURE_FLAGS="                 --disable-libwebp --disable-translation"
  - CONFIGURE_FLAGS="--disable-gcrypt --disable-libwebp --disable-translation"
  - CONFIGURE_FLAGS="--disable-png"
#  - CONFIGURE_FLAGS="--disable-png --disable-gcrypt"
  - CONFIGURE_FLAGS="--disable-png                  --disable-libwebp"
#  - CONFIGURE_FLAGS="--disable-png --disable-gcrypt --disable-libwebp"
#  - CONFIGURE_FLAGS="--disable-png                                    --disable-translation"
#  - CONFIGURE_FLAGS="--disable-png --disable-gcrypt                   --disable-translation"
#  - CONFIGURE_FLAGS="--disable-png                  --disable-libwebp --disable-translation"
#  - CONFIGURE_FLAGS="--disable-png --disable-gcrypt --disable-libwebp --disable-translation"
matrix:
# Be even nicer by excluding half of the combinations
  exclude:
    - compiler: clang
      env: CONFIGURE_FLAGS=""
    - compiler: gcc
      env: CONFIGURE_FLAGS="--disable-gcrypt"
    - compiler: clang
      env: CONFIGURE_FLAGS="                 --disable-libwebp"
#    - compiler: XXX
#      env: CONFIGURE_FLAGS="--disable-gcrypt --disable-libwebp"
    - compiler: gcc
      env: CONFIGURE_FLAGS="                                   --disable-translation"
#    - compiler: XXX
#      env: CONFIGURE_FLAGS="--disable-gcrypt                   --disable-translation"
#    - compiler: XXX
#      env: CONFIGURE_FLAGS="                 --disable-libwebp --disable-translation"
    - compiler: clang
      env: CONFIGURE_FLAGS="--disable-gcrypt --disable-libwebp --disable-translation"
    - compiler: clang
      env: CONFIGURE_FLAGS="--disable-png"
#    - compiler: XXX
#      env: CONFIGURE_FLAGS="--disable-png --disable-gcrypt"
    - compiler: gcc
      env: CONFIGURE_FLAGS="--disable-png                  --disable-libwebp"
#    - compiler: XXX
#      env: CONFIGURE_FLAGS="--disable-png --disable-gcrypt --disable-libwebp"
#    - compiler: XXX
#      env: CONFIGURE_FLAGS="--disable-png                                    --disable-translation"
#    - compiler: XXX
#      env: CONFIGURE_FLAGS="--disable-png --disable-gcrypt                   --disable-translation"
#    - compiler: XXX
#      env: CONFIGURE_FLAGS="--disable-png                  --disable-libwebp --disable-translation"
#    - compiler: XXX
#      env: CONFIGURE_FLAGS="--disable-png --disable-gcrypt --disable-libwebp --disable-translation"
# Include power jobs for gcc
  include:
    - compiler: gcc
      arch: ppc64le
      dist: xenial
      env: CONFIGURE_FLAGS=""
    - compiler: gcc
      arch: ppc64le
      dist: xenial
      env: CONFIGURE_FLAGS="                 --disable-libwebp"
    - compiler: gcc
      arch: ppc64le
      dist: xenial
      env: CONFIGURE_FLAGS="--disable-gcrypt --disable-libwebp --disable-translation"
    - compiler: gcc
      arch: ppc64le
      dist: xenial
      env: CONFIGURE_FLAGS="--disable-png"