/
.travis.yml
38 lines (34 loc) · 1.11 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
#
# Copyright (c) 2016 Krzysztof Jusiak (krzysztof at jusiak dot net)
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
branches:
except:
- gh-pages
matrix:
fast_finish: true
include:
- os: linux
env: CXX=clang++-3.7
addons:
apt:
packages: ["clang-3.7", "libstdc++-5-dev", "valgrind"]
sources: ["ubuntu-toolchain-r-test", "llvm-toolchain-precise-3.7"]
- os: linux
env: CXX=clang++-3.8
addons:
apt:
packages: ["clang-3.8", "libstdc++-5-dev", "valgrind"]
sources: ["ubuntu-toolchain-r-test", "llvm-toolchain-precise-3.8"]
before_script:
- echo "yes" | sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty main universe restricted multiverse"
- sudo apt-get update -qq
- sudo apt-get -qq install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev
script:
- if [ "${CXX}" != "" ]; then (travis_wait mkdir build && cd build && cmake .. && cmake --build . && ctest); fi
notifications:
on_success: change
on_failure: always
on_start: false