-
Notifications
You must be signed in to change notification settings - Fork 35
/
.travis.yml
52 lines (43 loc) · 1.95 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
sudo: required
language: cpp
script: if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then make && make test ; fi
os:
- linux
- osx
compiler:
- gcc
- clang
env:
global:
- LIBSTDC_VERSION=5
- CLANG_VERSION=3.6
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "bUFwH+hVprc5fs5InUARYPYezUIe4EjRtuhEQOSV6hd2jS1+ZXD7u5sJZFwxSy5Ge/wCCzmqBNeZOpANDCbfayXe05M8JasHPkUd89R0TU1W7DiH6Q7B7ETcnLpgZAtkZrJY+b4+79E5wUGvdOkB2zQAsEXLuije/E6+Qq37gfVqwGFPCH6ZKc1s/IyzIvQhGFESe/VuLYm5dahJbBzqLRGziG3LoKJq3RyGTbDKATnL/vh1zAOzTWV5196sh+BmZbAHvAMCY5+0Io2ve5TvxDcGHFpIVn9VEhcHWjAPdpy7jbSppsKBzDIEYL+mp1UCQQzqyTwYnVU4mtprFKjnVJJBKPvE9EYOjek0PCg0usj9d+xvGEvUgC7E0poJajMyA1aIpr6Gf+SUZKBF4yEntCMLyEf9eH3fIPLWBkrv0MFk4bUX8/ZCAUd+/Gw6FiGcLQHhUJcLg+Wq2RPpfQistlrPTXNCQT9Som/HjOm+uU/YQuzIEfW6ZHYZcImdHpXD/UJWHEFTiKC4A0yCIkScJXANEewaqJDq9VbHwypdXeY+w39Ri9uGEMKfATlhk1+QhRhvzMA0YPqyrPQaQh527hKRdMKGOmMEHWjn6I9aM6FUcec80TcmT0Fmb/cN/VAp8u+h3i6wREzDP4zMn1DhJ0iG0hpJ52xHPxxUO6t5yDk="
matrix:
exclude:
- os: linux
compiler: clang
- os: osx
compiler: gcc
before_install:
- if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; fi
- if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then sudo apt-get update -q; fi
# Prepare compilers
- if [[ "$CXX" == "g++" || "$CC" == "gcc" ]]; then sh travis/install-gcc.sh; fi
- if [[ "$CXX" == "clang++" || "$CC" == "clang" ]]; then sh travis/install-clang.sh; fi
# Debug information
- if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then lsb_release -a; fi
- uname -a
- $CC --version
- $CXX --version
cache:
- apt
addons:
coverity_scan:
project:
name: "dspinellis/cscout"
notification_email: [email protected]
build_command_prepend: "make btyacc ; make swill/libswill.a"
build_command: "make -j 4"
branch_pattern: coverity_scan