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

os:
  - linux

compiler:
  - clang
  - gcc

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

  global:
   # Coverity token
   - secure: "g5vrCKeJwv+Brjlf1yuv/3FsJBVF9jVB+TmIyzXqTVzUk2LLFMNax04LaMTrQKHVrkXX/r/XdiTIl8/9EMqQGDx/kAPZpde5uJqy1aV8fE2IvYRj7sNSRm2smKNaioZnFYH6sm8dthoDARjxBY/nPmop0F6LVqSyRdZZVT9I/QY="


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"
      description: "Build submitted via Travis CI"
    notification_email: lloyd@randombit.net
    build_command_prepend: "./configure.py"
    build_command: "make -j 4"
    branch_pattern: master