forked from UniversityRadioYork/ury-playd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (35 loc) · 964 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
language: cpp
dist: bionic
addons:
apt:
packages:
- libmpg123-dev
- libsndfile-dev
- libsdl2-dev
- libuv1-dev
# The pack-in libstdc++ in Bionic doesn't support C++17, weirdly.
- libstdc++-8-dev
# These packages aren't actually needed on all builds, but it's easier to
# specify them up here than have to specify apt packages again and again for
# each matrix section that needs extra packages.
- gcc-8
- g++-8
# We'd just use 'compiler' here, but we have to specify GCC8,
# which requires some environment fun.
matrix:
include:
# standard Bionic clang ('just works' with libstdc++-8)
- os: linux
compiler: clang
# gcc 8 (at time of writing, Bionic gcc won't work for weird C++17 reasons)
- os: linux
compiler: gcc
env:
- CC="gcc-8"
- CXX="g++-8"
before_script:
- mkdir cbuild && cd cbuild
- cmake ..
script:
- make
- make check