-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
65 lines (63 loc) · 1.44 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
64
65
language: cpp
dist: xenial
sudo: false
# Only build master branch, other branches will have a Pull Request build.
branches:
only:
- master
matrix:
include:
- os: linux
compiler: gcc-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- libglu1-mesa-dev
- libxxf86vm-dev
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
- libx11-dev
- cmake
script:
- cmake --version
- cmake -DCMAKE_CXX_COMPILER=g++-4.8 -DCMAKE_C_COMPILER=gcc-4.8 .
- make -j 2
- os: linux
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libglu1-mesa-dev
- libxxf86vm-dev
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
- libx11-dev
- cmake
script:
- cmake --version
- cmake .
- make -j 2
- os: osx
compiler: clang
script:
- cmake --version
- cmake .
- make -j 2
- os: windows
env:
- CMAKE_PATH="/c/Program Files/CMake/bin"
script:
- export PATH=$CMAKE_PATH:$PATH
- mkdir build && cd build
- cmake --version
- cmake ..
- cmake --build .