-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (58 loc) · 1.21 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
57
58
59
60
61
62
63
os: linux
dist: xenial
sudo: required
language: cpp
compiler: gcc
cache: ccache
branches:
only:
- master
except:
- /^(?i:continuous)$/
# Do not build tags that we create when we upload to GitHub Releases
env:
global:
- CC=gcc-8
- CXX=g++-8
install:
- mkdir deps
- cd deps
- wget https://www.sfml-dev.org/files/SFML-2.5.1-sources.zip
- unzip SFML-2.5.1-sources.zip
- cd SFML-2.5.1
- cmake -DCMAKE_BUILD_TYPE=Release -DSFML_BUILD_EXAMPLES=FALSE -DSFML_BUILD_DOC=FALSE
- make
- sudo make install
- cd ..
- wget https://github.com/texus/TGUI/archive/v0.8.5.zip
- unzip v0.8.5.zip
- cd TGUI-0.8.5
- cmake -DCMAKE_BUILD_TYPE=Release -DTGUI_BUILD_GUI_BUILDER=FALSE
- make
- sudo make install
- sudo ldconfig
- cd ../..
script:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make tests
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
- libfreetype6-dev
- libjpeg-dev
- libx11-dev
- libxrandr-dev
- libx11-xcb-dev
- libxcb-randr0-dev
- libxcb-image0-dev
- libxcb1-dev
- libgl1-mesa-dev
- libudev-dev
- libopenal-dev
- libflac-dev
- libvorbis-dev