-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (36 loc) · 1.03 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
dist: trusty
sudo: require
language: cpp
os: linux
compiler: gcc
addons:
apt:
packages:
- gcc
- g++
# Safelist - branches to be built.
branches:
only:
- master
before_script:
# create a build folder for the out-of-source build
- mkdir build
# switch to build directory
- cd build
# Install the development librairies and headers for freeglut3
- sudo apt-get install freeglut3-dev -y --force-yes
# Install the Xrandr used by SFML to set the size, orientation and/or reflection of the outputs for a screen. It can also set the screen size.
- sudo apt-get install libxrandr-dev -y --force-yes
- sudo apt-get install libxinerama-dev -y --force-yes
- sudo apt-get install libxcursor-dev -y --force-yes
# Install the UDev library used by SFML
- sudo apt-get install libudev-dev -y --force-yes
# run cmake; here we assume that the project's
# top-level CMakeLists.txt is located at '..'
- cmake ..
script:
- make
- make CODEFRAME_TESTS
after_success:
- cd ${TRAVIS_BUILD_DIR}
- ./CODEFRAME_TESTS