2016-06-09 21:33:05 +08:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
include:
|
|
|
|
#Linux build
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
language: cpp
|
|
|
|
env:
|
|
|
|
#- LLVM_VERSION=3.8
|
|
|
|
sudo: false
|
|
|
|
cache:
|
|
|
|
apt: true
|
|
|
|
directories:
|
|
|
|
- $HOME/.ccache
|
|
|
|
compiler:
|
|
|
|
#- clang
|
|
|
|
- g++
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
#- llvm-toolchain-precise-3.8
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
#- clang-3.8
|
|
|
|
- g++
|
|
|
|
- cmake
|
2018-01-05 21:43:53 +08:00
|
|
|
# # OSX build
|
|
|
|
# - os: osx
|
|
|
|
# language: cpp
|
2016-06-09 21:33:05 +08:00
|
|
|
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- travis_wait 60 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../product -DBUILD_OSG_EXAMPLES=ON ..
|
|
|
|
- make install -j3
|
|
|
|
|