-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
55 lines (45 loc) · 1.72 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
language: cpp
compiler:
- clang
- gcc
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cmake/travis_before_install_linux.sh; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then cmake/travis_before_install_mac.sh; fi
install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cmake/travis_install_linux.sh; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then cmake/travis_install_mac.sh; fi
script:
- if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then if [ "$TRAVIS_OS_NAME" = "linux" ]; then cmake/travis_script_linux.sh; fi; fi
- if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then if [ "$TRAVIS_OS_NAME" = "osx" ]; then cmake/travis_script_mac.sh; fi; fi
notifications:
email:
recipients:
on_success: never
on_failure: change
irc:
channels:
- "chat.freenode.net#OpenRaider"
template:
- "%{repository}/%{branch} (%{commit} - %{author}): %{message}"
os:
- linux
- osx
matrix:
allow_failures:
- os: linux
compiler: 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: "mZtmV3AtLWzr0NnUb6lCdRwv9Dj4AsI7NNzKFzHHr+bKavnXf8jBfDIhO9K2fBrx2h2QjDyd7BVWgIKQI8WVGpzbHTMBSrz3yPyY/X97HZMcgfClGsIqesoWldC5dIooPrfirv+/I3rQza0bvozNSXalRwMj1y1nV1lc5xO54TU="
addons:
coverity_scan:
project:
name: "xythobuz/OpenRaider"
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