Skip to content

Commit

Permalink
add basic config for travis build system
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed Jun 27, 2018
1 parent c1e7579 commit 0b21571
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# 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/
bin_plugs/
intermediate/
intermediate_plugs/
lib/
src/Externals/
*.aps
*.user
*.PVS-Studio.*
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"

0 comments on commit 0b21571

Please sign in to comment.