]> git.proxmox.com Git - swtpm.git/blob - .travis.yml
Extend Travis integration with Coverity Scans
[swtpm.git] / .travis.yml
1 env:
2 global:
3 # COVERITY_SCAN_TOKEN
4 # ** specific to your project **
5 - secure: "ki5q_WbrO4F53nzBELVInA"
6
7 sudo: required
8 language: c
9 dist: trusty
10 before_install:
11 - sudo apt-get -y install automake autoconf libtool libssl-dev sed make gawk sed bash dh-exec
12 - git clone https://github.com/stefanberger/libtpms
13 - cd libtpms
14 - git checkout origin/tpm2-preview.rev146 -b tpm2-preview.rev146
15 - ./bootstrap.sh && ./configure --with-openssl --prefix=/usr && make -j4 && sudo make install
16 - cd ..
17 - sudo apt-get -y install libfuse-dev libglib2.0-dev libgmp-dev expect libtasn1-dev socat findutils tpm-tools
18
19 addons:
20 coverity_scan:
21 project:
22 name: stefanberger/swtpm
23 version: 0.1
24 description: swtpm TPM 1.2 & 2 emulator
25 notification_email: stefanb@linux.vnet.ibm.com
26 build_command_prepend: ./configure
27 build_command: make
28 branch_pattern: coverity_scan
29
30 script: ./bootstrap.sh && ./configure --with-openssl --prefix=/usr && make -j4 check && sudo make -j4 check
31