summaryrefslogtreecommitdiffstats
path: root/comm/third_party/botan/src/scripts/ci/travis.yml
blob: 15609864c4d514f45829ce67981cb4df09ac78f3 (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
language: cpp
os: linux
dist: focal
compiler: gcc

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

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

    - name: Linux GCC 4.8
      dist: bionic
      env:
       - TARGET="gcc4.8"
       - EXTRA_FLAGS="--disable-werror"

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

script:
  - ./src/scripts/ci_build.py --os=$TRAVIS_OS_NAME --cc=$CC --cc-bin=$CXX --without-pylint3 --pkcs11-lib=$PKCS11_LIB $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