forked from vinzenz/libpypa
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
46 lines (39 loc) · 1.13 KB
/
.travis.yml
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
language: cpp
compiler:
- clang
- gcc
# use travis-ci docker based infrastructure
sudo: false
cache:
directories:
- $HOME/.ccache
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "a3CnWMzTKAied4cDb/vW3wBrZyqkMtavYTA6ptbv2fZxaG5maZg2RGiDMmAkgdpa9VJTyF7qnZHn+eGpa2svYs3hafX8kF6h0BHOMlNh+tKKPIh3gsK9BeZoXR4h2r25av/0FAK96f7zkpEhGEENDaQZ7dDNKn/mb85DWV43+nw="
addons:
apt:
sources:
- llvm-toolchain-precise-3.5
- ubuntu-toolchain-r-test
packages:
- ccache
- clang-3.5
- cmake
- g++-4.8
- gcc-4.8
- libgmp3-dev
coverity_scan:
project:
name: "vinzenz/libpypa"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "cmake . && make clean"
build_command: "make -j 4"
branch_pattern: coverity_scan
before_install:
- if [ "$CC" = "clang" ]; then export CC="clang-3.5" CXX="clang++-3.5"; fi
- if [ "$CC" = "gcc" ]; then export CC="gcc-4.8" CXX="g++-4.8"; fi
script:
- cmake . && make