@@ -0,0 +1,20 @@
+shallow_clone: true
+
+os:
+ - Visual Studio 2015
+environment:
+ matrix:
+ - TOOLSET: vs2013
+ - TOOLSET: vs2015
+configuration:
+ - Debug
+ - Release
+install:
+ - git clone https://github.com/bkaradzic/bx ..\bx
+ - ..\bx\tools\bin\windows\genie --with-tools %TOOLSET%
+build:
+ project: .build/projects/$(TOOLSET)/bimg.sln
@@ -0,0 +1,19 @@
+root = true
+[*]
+indent_style = tab
+indent_size = 4
+end_of_line = lf
+max_line_length = 100
+insert_final_newline = true
+trim_trailing_whitespace = true
+[include/bgfx/c99/*.h]
+indent_style = space
+[*.ninja]
+[*.md]
+trim_trailing_whitespace = false
+max_line_length = 80
@@ -0,0 +1,11 @@
+*.c eol=lf
+*.cpp eol=lf
+*.h eol=lf
+*.sc eol=lf
+*.sh eol=lf
+*.m eol=lf
+*.mm eol=lf
+*.md eol=lf
+*.lua eol=lf
+*.mk eol=lf
+makefile eol=lf
@@ -0,0 +1,7 @@
+.build
+.debug
+.DS_Store
+.git
+.svn
+tags
+.gdb_history
@@ -0,0 +1,32 @@
+language: cpp
+matrix:
+ include:
+ - compiler: gcc
+ os: linux
+ - compiler: clang
+ os: osx
+addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - gcc-4.8
+ - g++-4.8
+ - clang
+before_script:
+ git clone https://github.com/bkaradzic/bx ../bx
+script:
+ - if [ "$TRAVIS_OS_NAME" == "linux" ]; then make build CXX="g++-4.8" CC="gcc-4.8"; fi
+ - if [ "$TRAVIS_OS_NAME" == "osx" ]; then make build; fi
+branches:
+ only:
+ - master
+notifications:
+ email: false
+osx_image: xcode7.3