|
|
@@ -459,6 +459,7 @@ cache:
|
|
|
directories:
|
|
|
- $HOME/cmake-3.9.2-Linux-x86_64/bin
|
|
|
- $HOME/cmake-3.9.2-Linux-x86_64/share
|
|
|
+ - $HOME/initial-build-tree
|
|
|
dist: trusty
|
|
|
sudo: false
|
|
|
addons: {apt: {packages: [doxygen, graphviz]}}
|
|
|
@@ -489,7 +490,7 @@ before_script:
|
|
|
- export COMMIT_MESSAGE=$(git log --format=%B -n 1 $TRAVIS_COMMIT)
|
|
|
- export TAG=$(git describe --exact-match $TRAVIS_COMMIT 2>/dev/null); if [[ $TAG =~ [[:digit:]]+\.[[:digit:]]+ ]]; then export RELEASE_TAG=$TAG; fi
|
|
|
- if [[ $RELEASE_TAG ]] || (! [[ $TRAVIS_BRANCH =~ [^-]+-[^-]+-CI ]] && echo $COMMIT_MESSAGE |grep -cq '\[ci package\]'); then export PACKAGE_UPLOAD=1; fi
|
|
|
- - if [[ "$URHO3D_LIB_TYPE" != "MODULE" ]] && (echo $COMMIT_MESSAGE |grep -cq '\[cache clear\]' || [[ ! -e $HOT ]]); then export URHO3D_SAMPLES=0; fi; touch $HOT
|
|
|
+ - if [[ "$URHO3D_LIB_TYPE" != "MODULE" ]] && (echo $COMMIT_MESSAGE |grep -cq '\[cache clear\]' || [[ ! -e $HOT ]]); then export URHO3D_SAMPLES=0; else export URHO3D_SAMPLES=1; fi; touch $HOT
|
|
|
- if [[ ! $EMSCRIPTEN_WASM ]]; then export BINARYEN=binaryen-master-64bit; fi
|
|
|
- git clone --depth 1 --branch $BRANCH https://github.com/urho3d/emscripten-sdk.git && emscripten-sdk/emsdk activate --build=Release sdk-${BRANCH}-64bit $BINARYEN && source emscripten-sdk/emsdk_env.sh
|
|
|
- for compiler in $EMSCRIPTEN/{emcc,em++}; do touch -d "2017-01-01 00:00:00 +0800" $compiler; done
|
|
|
@@ -502,6 +503,17 @@ matrix:
|
|
|
fast_finish: true
|
|
|
include: [stage: housekeep]
|
|
|
|
|
|
+# Below samples are excluded from build due to build time constraint
|
|
|
+data:
|
|
|
+ excluded_sample:
|
|
|
+ '#4': &shortlisted
|
|
|
+ - 01_HelloWorld
|
|
|
+ - 02_HelloGUI
|
|
|
+ - 26_ConsoleInput
|
|
|
+ - 29_SoundSynthesis
|
|
|
+ - 38_SceneAndUILoad
|
|
|
+ '#5': *shortlisted
|
|
|
+
|
|
|
---
|
|
|
|
|
|
branch: {name: OSX-CI, active: yes}
|