Skip to content

Commit 0b21571

Browse files
committed
add basic config for travis build system
1 parent c1e7579 commit 0b21571

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
# exclude all dot files except .git files
1+
# exclude all dot files except .git, appveyor and travis files
22
.*
33
!.git*
4+
!.appveyor*
5+
!.travis.yml
46

57
# exclude binaries and temporary files
68
bin/
79
bin_plugs/
810
intermediate/
911
intermediate_plugs/
1012
lib/
13+
src/Externals/
1114
*.aps
1215
*.user
1316
*.PVS-Studio.*

.travis.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
language: cpp
2+
cache: ccache
3+
sudo: required
4+
dist: trusty
5+
compiler:
6+
- g++
7+
install: export CXX="g++-7"
8+
os:
9+
- linux
10+
before_script:
11+
- g++ --version
12+
- sudo apt-get install libegl1-mesa-dev libgles2-mesa-dev libpugixml-dev libopenal-dev libtbb-dev libcrypto++-dev
13+
- sudo apt-get install cmake lua5.1-dev libssl-dev libogg-dev libtheora-dev libvorbis-dev libsdl2-dev liblzo2-dev libjpeg-dev libncurses5-dev
14+
- mkdir bin
15+
- cd bin
16+
- cmake ..
17+
script:
18+
- if [ $TRAVIS_OS_NAME == linux ]; then make && file src/xrCore/xrCore.so; fi
19+
addons:
20+
apt:
21+
sources:
22+
- ubuntu-toolchain-r-test
23+
packages:
24+
- g++-7
25+
notifications:
26+
email: false
27+
env:
28+
global:
29+
- LANG="en_US.UTF-8"

0 commit comments

Comments
 (0)