From c043f68024779a02e15c098322937af98e4cbffd Mon Sep 17 00:00:00 2001 From: Tycho Date: Wed, 10 Sep 2014 16:12:49 +0100 Subject: Added example for how to use version info to travis --- CIbuild.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CIbuild.sh') diff --git a/CIbuild.sh b/CIbuild.sh index 683c1fc74..df023316e 100755 --- a/CIbuild.sh +++ b/CIbuild.sh @@ -2,6 +2,10 @@ set -e +export BUILD_SERIES_NAME="Travis $CC $TRAVIS_MCSERVER_BUILD_TYPE" +export BUILD_ID=$TRAVIS_JOB_NUMBER +export BUILD_DATETIME=`date` + cmake . -DBUILD_TOOLS=1 -DSELF_TEST=1; make -j 2; make -j 2 test; -- cgit v1.2.3 From 4f67ca4c0ac2f3ea4090882d982670b94913c6b2 Mon Sep 17 00:00:00 2001 From: Tycho Date: Wed, 10 Sep 2014 18:08:50 +0100 Subject: Added MCServer_ prfix to env vars for versions --- CIbuild.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CIbuild.sh') diff --git a/CIbuild.sh b/CIbuild.sh index df023316e..5d95f88a6 100755 --- a/CIbuild.sh +++ b/CIbuild.sh @@ -2,9 +2,9 @@ set -e -export BUILD_SERIES_NAME="Travis $CC $TRAVIS_MCSERVER_BUILD_TYPE" -export BUILD_ID=$TRAVIS_JOB_NUMBER -export BUILD_DATETIME=`date` +export MCSERVER_BUILD_SERIES_NAME="Travis $CC $TRAVIS_MCSERVER_BUILD_TYPE" +export MCSERVER_BUILD_ID=$TRAVIS_JOB_NUMBER +export MCSERVER_BUILD_DATETIME=`date` cmake . -DBUILD_TOOLS=1 -DSELF_TEST=1; make -j 2; -- cgit v1.2.3