-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
61 lines (57 loc) · 1.46 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
sudo: required
dist: trusty
language: c++
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- build-essential
- libpthread-stubs0-dev
- libgl1-mesa-dev
- libx11-dev
- libxrandr-dev
- libfreetype6-dev
- libglew-dev
- libjpeg-dev
- libsndfile1-dev
- libopenal-dev
- libudev-dev
- g++-5
env: COMPILER=g++-5
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- build-essential
- libpthread-stubs0-dev
- libgl1-mesa-dev
- libx11-dev
- libxrandr-dev
- libfreetype6-dev
- libglew-dev
- libjpeg-dev
- libsndfile1-dev
- libopenal-dev
- libudev-dev
- g++-6
env: COMPILER=g++-6
before_install:
- git clone https://github.com/SFML/SFML.git
- cd SFML
- mkdir install
- mkdir build
- cd build
- cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_INSTALL_FRAMEWORK_PREFIX=../install -DSFML_BUILD_FRAMEWORKS=FALSE -DBUILD_SHARED_LIBS=TRUE ..
- make
- make install
- cd ../../
script:
- cmake --version
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DSFML_ROOT=./SFML/install -DCMAKE_MODULE_PATH=./SFML/cmake/Modules .
- make