forked from szledan/gepard
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
52 lines (44 loc) · 925 Bytes
/
.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
language: cpp
os: linux
sudo: required
dist: xenial
compiler:
- gcc
- clang
branches:
only:
- master
- gles2-dev
- vulkan-dev
- software-dev
before_install:
- sudo apt-get -qq update
install:
- if [ "$CMD" == "cppcheck" ]; then sudo apt-get install -qq cppcheck; fi
- sudo apt-get install -qq freeglut3-dev libegl1-mesa-dev libgles2-mesa-dev;
- sudo apt-get install -qq libpng16-dev
env:
- CMD=cppcheck
- CMD=build
- CMD=unittest
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}"