-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
43 lines (33 loc) · 1.26 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
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: "M9U5HYpYoeGsO8S8JQBMhmQR9X+Eo7PPNzw8eqE4wFPeKEeNPyOPZvXqLXk9wRuRK0FH547XpSrHtP/3RY/VydLEqYe8g7p6cABs9fy2uB+FhLNERZqCEON0glN15yTXyrGPEO6KNZUXbmOYI27uJYCZGU87OCpV/yWEzZFMRHs="
before_install:
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
addons:
coverity_scan:
project:
name: "sorressean/Aspen"
description: "Build submitted via Travis CI."
notification_email: [email protected]
build_command_prepend: "git submodule update;mkdir obj;cd obj;cmake ../"
build_command: "make"
branch_pattern: coverity_scan
language: cpp
compiler:
- gcc
- clang
before_install:
- if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
- sudo apt-get update -qq
install:
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++"; fi
- sudo apt-get install -qq libssl-dev zlib1g-dev libboost-all-dev cmake
script:
- git submodule update
- mkdir obj
- cd obj
- cmake ../
- make