aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/travis.yml
blob: 75bda1376bf399530ee7fc374c757d33fb94c5fd (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
language: cpp
os: linux
dist: focal
compiler: gcc

jobs:
  include:
    - name: Linux s390x (GCC)
      arch: s390x
      env:
       - TARGET="shared"

    - name: Linux ppc64le (GCC)
      arch: ppc64le
      env:
       - TARGET="shared"

    - name: Linux ppc64le (Clang)
      arch: ppc64le
      compiler: clang
      env:
       - TARGET="shared"

    - name: Linux arm64 (GCC)
      arch: arm64
      env:
       - TARGET="shared"

    - name: Linux arm32 cross (GCC)
      arch: arm64
      env:
       - TARGET="cross-arm32"

install:
  - ./src/scripts/ci/setup_travis.sh

script:
  - ./src/scripts/ci_build.py --os=$TRAVIS_OS_NAME --cc=$CC --cc-bin=$CXX --without-pylint3 $EXTRA_FLAGS $TARGET

# whitelist branches to avoid testing feature branches twice (as branch and as pull request)
branches:
  only:
    - master
    - release-2
    - coverity_scan

git:
  depth: 10

cache:
  ccache: true

addons:
  coverity_scan:
    project:
      name: "randombit/botan"
    notification_email: jack@randombit.net
    build_command_prepend: "./configure.py --no-optimizations --with-zlib --with-openssl"
    build_command: "make -j2"
    branch_pattern: coverity_scan