Skip to content

Commit e38eb34

Browse files
authored
Merge pull request #2298 from jmdejong/traviscompile
Travis Compile
2 parents a469f2b + 30d236c commit e38eb34

File tree

1 file changed

+41
-3
lines changed

1 file changed

+41
-3
lines changed

.travis.yml

+41-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,42 @@
11
language: cpp
2-
compiler:
3-
- clang
4-
- gcc
2+
3+
dist: xenial
4+
5+
matrix:
6+
include:
7+
- os: osx
8+
compiler: clang
9+
env: if CXXFLAGS="-fgnu-inline-asm -fasm-blocks"
10+
- os: linux
11+
compiler: gcc
12+
- os: linux
13+
compiler: clang
14+
15+
addons:
16+
apt:
17+
packages:
18+
- build-essential
19+
- nasm
20+
- libogg-dev
21+
- libxft-dev
22+
- libx11-dev
23+
- libxxf86vm-dev
24+
- libopenal-dev
25+
- libfreetype6-dev
26+
- libxcursor-dev
27+
- libxinerama-dev
28+
- libxi-dev
29+
- libxrandr-dev
30+
- libxss-dev
31+
- libglu1-mesa-dev
32+
- libgtk-3-dev
33+
34+
script:
35+
- mkdir -p My\ Projects/TestProject/buildFiles/travis/
36+
- cd My\ Projects/TestProject/buildFiles/travis/
37+
- cmake ../../../.. -DTORQUE_APP_NAME=TestProject -DCMAKE_BUILD_TYPE=Debug
38+
- make 2>/dev/null # Do the actual build, but ignore all the warnings
39+
- make # build again. This time all output is printed but the warnings that happened earlier do not happen again
40+
- make install
41+
- cd ../../game/
42+
- ls

0 commit comments

Comments
 (0)