-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
56 lines (48 loc) · 1.22 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
language: cpp
os: linux
sudo: required
dist: trusty
compiler:
- gcc
- clang
branches:
only:
- master
- gles2-dev
- vulkan-dev
- software-dev
before_install:
- if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi
- sudo apt-get -qq update
install:
- if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticated -qq clang-3.8; fi
- if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.8"; fi
- if [ "$CMD" == "cppcheck" ]; then sudo apt-get install -qq cppcheck; fi
- if [ "$BACKEND" == "gles2" ]; then sudo apt-get install -qq freeglut3-dev libegl1-mesa-dev libgles2-mesa-dev; fi
env:
- CMD=cppcheck
- CMD=unittest
- CMD=build BACKEND=gles2
- CMD=build BACKEND=vulkan
- CMD=build BACKEND=software
matrix:
exclude:
- compiler: clang
env: CMD=cppcheck
- compiler: clang
env: CMD=unittest
allow_failures:
- compiler: clang
script:
- tools/travis.sh
notifications:
irc:
on_success: change
on_failure: always
skip_join: true
channels:
- "chat.freenode.net#gepard"
template:
- "Branch: %{branch} - %{message}"
- "%{author} (%{commit}) %{commit_subject}"
- "Build details: %{build_url}"