aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: e1fe0daefd855f9cbf1ac77378792583d4191a0c (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
language: cpp

os:
  - linux

compiler:
  - clang
  - gcc

env:
  matrix:
    - BUILD_MODE="shared"
    - BUILD_MODE="static"
    - BUILD_MODE="coverage"

matrix:
  exclude:
    - compiler: clang
      env: BUILD_MODE="coverage"

before_install:
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -qq

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

script:
  - ./src/scripts/ci/build.sh

after_success:
  - ./src/scripts/ci/after_success.sh

notifications:
  email: lloyd@randombit.net

addons:
  coverity_scan:
    project:
      name: "randombit/botan"
    notification_email: lloyd@randombit.net
    build_command_prepend: "./configure.py"
    build_command: "make -j4"
    branch_pattern: coverity_scan