From 2f7c41bd28cddecfd14fb41daffa27f5c00265c1 Mon Sep 17 00:00:00 2001 From: James Chen Date: Mon, 6 Jan 2014 19:42:51 -0800 Subject: [PATCH] [travis] builds linux template now. --- tools/travis-scripts/run-script.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tools/travis-scripts/run-script.sh b/tools/travis-scripts/run-script.sh index 84cec56874..0ade7a31c7 100755 --- a/tools/travis-scripts/run-script.sh +++ b/tools/travis-scripts/run-script.sh @@ -76,6 +76,23 @@ elif [ "$PLATFORM"x = "linux"x ]; then cd linux-build cmake ../.. make -j10 + cd .. + # build template + echo "Building template projects for linux ..." + cd tools/project-creator + ./create_project.py -n MyGameCpp -k com.MyCompany.AwesomeGameCpp -l cpp -p $HOME + ./create_project.py -n MyGameLua -k com.MyCompany.AwesomeGameLua -l lua -p $HOME + cd $HOME/MyGameCpp + mkdir build + cd build + cmake .. + make -j10 + + cd $HOME/MyGameLua + mkdir build + cd build + cmake .. + make -j10 elif [ "$PLATFORM"x = "emscripten"x ]; then # Generate binding glue codes