forked from VDrift/vdrift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (37 loc) · 1.31 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
language: cpp
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: "b26s1x6M4B5y3akDOi6DdWshyzjRkkcum6zhaYfz0kZ03uEYtGkuSk0b/55hrEA31v3Ujkb0XQGdlS/9R3fqt9P+FgHIBIic0rNGici/QZRr3DdLyPUskLSJOkaAtz0BeaXzYMFL9SOwUgJVHBxKsr+vStBzr4qF+w7KeRbGn8g="
git:
submodules: false
cache: apt
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:zoogie/sdl2-snapshots
- sudo add-apt-repository -y ppa:roblib/ppa
- sudo apt-get update -qq
- sudo apt-get -qq install g++-4.8
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
- sudo apt-get install -qq -y scons libsdl2-dev libsdl2-image-dev
- sudo apt-get install -qq -y libbullet-dev libvorbis-dev libcurl4-gnutls-dev
script:
- if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then scons; fi
addons:
coverity_scan:
project:
name: "VDrift/vdrift"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command: "scons"
branch_pattern: coverity_scan
notifications:
email:
recipients:
on_success: change
on_failure: always