-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
43 lines (38 loc) · 768 Bytes
/
.travis.yml
File metadata and controls
43 lines (38 loc) · 768 Bytes
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
language: c
sudo: true
matrix:
include:
#
- os: linux
compiler: gcc-6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
env:
- CC=gcc-6
#
- os: linux
compiler: gcc
addons:
apt:
packages:
- gcc-4.8
# Install dependencies
addons:
apt:
packages:
- cmake
before_script:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- sudo apt-get install -y libegl1-mesa-dev libgles2-mesa-dev
- sudo apt-get install -y libglew-dev check libsdl2-dev libsubunit-dev
# Build library.
script:
- mkdir build && cd build
- cmake ..
- cmake --build .
- ctest -VV