-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
69 lines (58 loc) · 2.36 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
sudo: required
dist: trusty
language: cpp
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: "RbA+oAbskTLzw4I4PQqj7xsmngH0x2cDut1pf5am2IIchI/qsUr8NQwXF4pSFiQRhEOCRGNDaxee7opxhgamBTO7+rLcWs1eEvobxgxXQIHjh3NYlrMkANHVLt2TK5QJI+HElxn0U0MHrYaPWeRYl4BgWxWHT38exBJA1JgZxadsh2Toy9HCwR5JuuccOFdphF0pRjdOiQ5eWT3Na9LfosTIFQYxdFQUsdyU/2vD5Q6wCFyaIUKE93BqL4OkdJnM2wceKLaf8lqs05co8uzrl5PT9jRXirBK4jEn8XOu4hYJPWGSZCNPUQLcrgmA/wxzMJ0zfwzp0sx4Wy9l1e6kgHUEfdpqpW31SoRlkQ3HT147kOlCdnb/Uuofccc7ilU2KmuoKV52U/2dEjxsqt5L3bSHIvbtp0ULDBwLE5JcPyoPJ4U/oWPF0slpCMme2HiIY8qsSe3vwLYGuq//6DAk2AOKpcGaXcqr6HrAH1k4hJVU8JPIfeNVNoeiI+s0jGfJQ+sjvji03y8CHrVfm/6hN7zDGugNgPHiS8vtiFa5SvSeOKlVuQRK6od8l8zs8ET/6AFcfturXXnTlMcZKP+DtKrHaRh5emKqj3F8JbrCma+H9hoWb0rkNf5j72nEajEyLk2kwOloLjv1jOLCTuZspTPxtQJp9BNaHnD746oxyxc="
matrix:
include:
- os: linux
compiler: gcc
env: COMPILER=g++-5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- gcovr
coverity_scan:
project:
name: "pamarcos/gencc"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "make clean"
build_command: "make -j4"
branch_pattern: master
after_success:
- make -j4 coverage
- bash <(curl -s https://codecov.io/bash)
- os: linux
compiler: clang
env: COMPILER=clang++-3.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
packages:
- clang-3.8
- os: osx
compiler: clang
env: COMPILER=clang++
osx_image: xcode8.2
before_install:
# Workaround for --push-state error when linking unit_tests
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo add-apt-repository ppa:jonathonf/binutils --yes || true;
sudo apt-get update -qq --yes || true;
sudo apt-get install -qq --yes --force-yes binutils;
echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-;
fi
before_script:
- export CXX=$COMPILER
- $CXX --version
script:
- make -j4