-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
44 lines (35 loc) · 1 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
language: cpp
sudo: required
compiler:
- gcc
- clang
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: "O6qpcYVv11V/j5hUWGy6y3rU37+Zn1ShyvKCWFP6JeftFRPvA7VxKXKLqYdF0OhLCmICV0lHMx0tW7pIPGX6PB4VvLZtTvTRmEK0nKpAKsHTvfAAAh8Triz99Ya4L/qRV9okEo/hrqoO+k7Lkck7+gXi7UzhEMFhra1p9I066B8="
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- clang
- valgrind
- libboost-dev
- libboost-test-dev
coverity_scan:
project:
name: "HBM/cppstream"
description: "Build submitted via Travis CI"
notification_email: stephan.gatzka@gmail.com
build_command: ./travis.sh
branch_pattern: coverity_scan
os:
- linux
install:
# /usr/bin/gcc is 4.6 always, but gcc-X.Y is available.
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
script:
- if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then ./travis.sh; fi