summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Beleščiak <marek.belesciak@websupport.sk>2017-01-25 14:55:03 +0100
committerMarek Beleščiak <marek.belesciak@websupport.sk>2017-01-25 14:55:03 +0100
commita7cbca207e39b9fc9ae6644aefc88edbbfe2d747 (patch)
tree8af544c255cedbbdeae33c7023cd8ca55513d185
parentcc3028b8b1f27a3393217a9749e2fe365aae2e11 (diff)
parent836a9128d3ed44649e90d5f67faf0bc6b3ae4207 (diff)
downloadATCD-a7cbca207e39b9fc9ae6644aefc88edbbfe2d747.tar.gz
Merge
-rw-r--r--.travis.yml40
-rw-r--r--TAO/examples/Callback_Quoter/Consumer.idl2
-rw-r--r--TAO/examples/Callback_Quoter/Consumer_Input_Handler.cpp2
3 files changed, 36 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index 9c2f20e11a4..fbe10513e17 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,15 +5,13 @@ os:
compiler:
- gcc
+
env:
matrix:
- FUZZ=1
- CORBAEMICRO=1 ACEFORTAO=0 TAO=1
- CORBAECOMPACT=1 ACEFORTAO=0 TAO=1
- ACEFORTAO=1 TAO=1
- - CCMLW=0 ACEFORTAO=0 TAO=1
- - CCMLW=1 ACEFORTAO=0 TAO=1
- - CCMNOEVENT=1 ACEFORTAO=0 TAO=1
- ACETESTS=1 ACEFORTAO=0 TAO=1
- USES_WCHAR=1 TAO=1
- VERSIONED=1 TAO=1
@@ -23,16 +21,38 @@ env:
- TAO_ROOT=$TRAVIS_BUILD_DIR/TAO
- MPC_ROOT=$TRAVIS_BUILD_DIR/MPC
- LD_LIBRARY_PATH=$ACE_ROOT/lib:$LD_LIBRARY_PATH
+ - COMPILER=g++-6
+
+matrix:
+ include:
+ - compiler: clang
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ - llvm-toolchain-precise-3.9
+ packages:
+ - libxerces-c-dev
+ - libssl-dev
+ - clang++-3.9
+ env: COMPILER=clang++-3.9 VERSIONED=1 TAO=1 ACETESTS=1
+
addons:
apt:
+ sources:
+ - ubuntu-toolchain-r-test
packages:
- - libssl-dev
- - libxerces-c-dev
+ - libssl-dev
+ - libxerces-c-dev
+ - g++-6
+
before_install:
- git clone --depth 1 git://github.com/DOCGroup/MPC.git
+
branches:
only:
- master
+
before_script:
- export
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then echo -e "#include \"ace/config-linux.h\"" >> $ACE_ROOT/ace/config.h; fi
@@ -56,12 +76,20 @@ before_script:
- echo -e "xerces3=1\nssl=1\nipv6=1\n" >> $ACE_ROOT/include/makeinclude/platform_macros.GNU
- echo -e "xerces3=1\nssl=1\n" >> $ACE_ROOT/bin/MakeProjectCreator/config/default.features
- echo -e "TAO/tests/Hello/run_test.pl" >> $TAO_ROOT/bin/travis-ci.lst
+ - if [ "$CXX" == "g++" ]; then echo -e "c++11=1\n" >> $ACE_ROOT/include/makeinclude/platform_macros.GNU; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then echo -e "include \$(ACE_ROOT)/include/makeinclude/platform_macosx.GNU" >> $ACE_ROOT/include/makeinclude/platform_macros.GNU; fi
- - if [ "$TRAVIS_OS_NAME" == "linux" ]; then echo -e "include \$(ACE_ROOT)/include/makeinclude/platform_linux.GNU" >> $ACE_ROOT/include/makeinclude/platform_macros.GNU; fi
+ - if [ "$TRAVIS_OS_NAME" == "linux" ]; then
+ if [ "$CXX" == "g++" ]; then
+ echo -e "include \$(ACE_ROOT)/include/makeinclude/platform_linux.GNU" >> $ACE_ROOT/include/makeinclude/platform_macros.GNU;
+ else
+ echo -e "include \$(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU" >> $ACE_ROOT/include/makeinclude/platform_macros.GNU;
+ fi
+ fi
- cat $TRAVIS_BUILD_DIR/travis.mwc
- cat $ACE_ROOT/bin/MakeProjectCreator/config/default.features
- cat $ACE_ROOT/ace/config.h
- cat $ACE_ROOT/include/makeinclude/platform_macros.GNU
+ - if [[ "${COMPILER}" != "" ]]; then export CXX=${COMPILER}; fi
script:
- if [ "$FUZZ" == "1" ]; then exec perl $ACE_ROOT/bin/fuzz.pl; fi
diff --git a/TAO/examples/Callback_Quoter/Consumer.idl b/TAO/examples/Callback_Quoter/Consumer.idl
index b6af1c59514..07bc8ba9afe 100644
--- a/TAO/examples/Callback_Quoter/Consumer.idl
+++ b/TAO/examples/Callback_Quoter/Consumer.idl
@@ -14,7 +14,7 @@ module Callback_Quoter
// Requested stock does not exist.
string reason;
- // The message which declares the reason for this execption.
+ // The message which declares the reason for this exception.
};
diff --git a/TAO/examples/Callback_Quoter/Consumer_Input_Handler.cpp b/TAO/examples/Callback_Quoter/Consumer_Input_Handler.cpp
index c6cb2966135..fb97e50820c 100644
--- a/TAO/examples/Callback_Quoter/Consumer_Input_Handler.cpp
+++ b/TAO/examples/Callback_Quoter/Consumer_Input_Handler.cpp
@@ -161,7 +161,7 @@ Consumer_Input_Handler::quit_consumer_process ()
if (consumer_handler_->unregistered_ != 1 && consumer_handler_->registered_ == 1)
{
// If the notifier has exited and the consumer tries to call
- // the unregister_callback method tehn an execption will be
+ // the unregister_callback method tehn an exception will be
// raised. Hence check for this case using.
this->consumer_handler_->server_->unregister_callback (this->consumer_handler_->consumer_var_.in ());