mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-24 22:46:11 +00:00
added .travis.yml file (build with original and biicode building);
added bii-travis.sh and readme.md files; added build status section with travis and biicode build systems Change-Id: I93acd1ca9497416ade6293d63b5311c4c31b880f
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
e3b432cba8
commit
23f75f598e
25
.travis.yml
Normal file
25
.travis.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
language: cpp
|
||||
|
||||
os:
|
||||
- linux
|
||||
|
||||
env:
|
||||
matrix:
|
||||
- BUILD_TYPE=Debug BIICODE=false
|
||||
- BUILD_TYPE=Release BIICODE=false
|
||||
- BUILD_TYPE=Release BIICODE=true
|
||||
- BUILD_TYPE=Debug BIICODE=true
|
||||
global:
|
||||
- GCC_VERSION="4.9"
|
||||
|
||||
before_install:
|
||||
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq g++-$GCC_VERSION
|
||||
- sudo apt-get install -qq gcc-$GCC_VERSION
|
||||
- sudo ln -s -v -f $(which g++-$GCC_VERSION) /usr/bin/g++
|
||||
- sudo ln -s -v -f $(which gcc-$GCC_VERSION) /usr/bin/gcc
|
||||
|
||||
script:
|
||||
- if [ "$BIICODE" == "false" ]; then cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE . && make && make test; fi
|
||||
- if [ "$BIICODE" == "true" ]; then ./biicode/support/bii-travis.sh $BUILD_TYPE; fi
|
||||
Reference in New Issue
Block a user