Skip to content

Commit

Permalink
Merge pull request #216 from q4a/xd_dev_travis
Browse files Browse the repository at this point in the history
Add basic config for travis build system
  • Loading branch information
Xottab-DUTY committed Jun 27, 2018
2 parents c1e7579 + 4fd8b11 commit 2aad79a
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# exclude all dot files except .git files
# exclude all dot files except .git, appveyor and travis files
.*
!.git*
!.appveyor*
!.travis.yml

# exclude binaries and temporary files
bin/
Expand Down
29 changes: 29 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
language: cpp
cache: ccache
sudo: required
dist: trusty
compiler:
- g++
install: export CXX="g++-7"
os:
- linux
before_script:
- g++ --version
- sudo apt-get install libegl1-mesa-dev libgles2-mesa-dev libpugixml-dev libopenal-dev libtbb-dev libcrypto++-dev
- sudo apt-get install cmake lua5.1-dev libssl-dev libogg-dev libtheora-dev libvorbis-dev libsdl2-dev liblzo2-dev libjpeg-dev libncurses5-dev
- mkdir bin
- cd bin
- cmake ..
script:
- if [ $TRAVIS_OS_NAME == linux ]; then make && file src/xrCore/xrCore.so; fi
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
notifications:
email: false
env:
global:
- LANG="en_US.UTF-8"
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
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)
X-Ray Engine 1.6 expansion
==========================

### Build Status:

|Platform|Build Status|
|--------|------|
| Linux x64 |[![Build Status](https://api.travis-ci.org/OpenXRay/xray-16.svg?branch=xd_dev)](https://travis-ci.org/OpenXRay/xray-16)|
| Windows |[![Build status](https://ci.appveyor.com/api/projects/status/16mp39v0d7fts6yf?svg=true)](https://ci.appveyor.com/project/OpenXRay/xray-16)|

This repository contains X-Ray Engine sources based on version 1.6.02.
The original engine is used in S.T.A.L.K.E.R. Call of Pripyat game released by GSC Game World.

Expand Down

0 comments on commit 2aad79a

Please sign in to comment.