Skip to content

Commit 2aad79a

Browse files
authored
Merge pull request #216 from q4a/xd_dev_travis
Add basic config for travis build system
2 parents c1e7579 + 4fd8b11 commit 2aad79a

File tree

3 files changed

+40
-2
lines changed

3 files changed

+40
-2
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
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/

.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"

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
X-Ray Engine 1.6 expansion [![Build status](https://ci.appveyor.com/api/projects/status/16mp39v0d7fts6yf?svg=true)](https://ci.appveyor.com/project/OpenXRay/xray-16)
1+
X-Ray Engine 1.6 expansion
22
==========================
33

4+
### Build Status:
5+
6+
|Platform|Build Status|
7+
|--------|------|
8+
| Linux x64 |[![Build Status](https://api.travis-ci.org/OpenXRay/xray-16.svg?branch=xd_dev)](https://travis-ci.org/OpenXRay/xray-16)|
9+
| Windows |[![Build status](https://ci.appveyor.com/api/projects/status/16mp39v0d7fts6yf?svg=true)](https://ci.appveyor.com/project/OpenXRay/xray-16)|
10+
411
This repository contains X-Ray Engine sources based on version 1.6.02.
512
The original engine is used in S.T.A.L.K.E.R. Call of Pripyat game released by GSC Game World.
613

0 commit comments

Comments
 (0)