10
10
- DDS_ROOT=$TRAVIS_BUILD_DIR/OpenDDS
11
11
- MPC_ROOT=$TRAVIS_BUILD_DIR/MPC
12
12
- LD_LIBRARY_PATH=$ACE_ROOT/lib:$DDS_ROOT/lib:$LD_LIBRARY_PATH
13
- - NODE_VERSION="8"
13
+ - NODE_VERSION=10
14
14
matrix :
15
15
include :
16
- - {os: osx, osx_image: xcode9.1, compiler: clang, env: 'COMPILER=clang++ NO_INLINE=1 OPENDDS_BRANCH=master'}
17
- - {os: osx, osx_image: xcode9.1, compiler: clang, env: 'COMPILER=clang++ NO_INLINE=1 OPENDDS_BRANCH=latest-release'}
18
- - {os: linux, env: OPENDDS_BRANCH=master}
19
- - {os: linux, env: OPENDDS_BRANCH=latest-release}
16
+ - {os: osx, osx_image: xcode9.1, compiler: clang, env: 'COMPILER=clang++ NO_INLINE=1 OPENDDS_BRANCH=master DDS_SECURITY=0'}
17
+ - {os: osx, osx_image: xcode9.1, compiler: clang, env: 'COMPILER=clang++ NO_INLINE=1 OPENDDS_BRANCH=latest-release DDS_SECURITY=0'}
18
+ - {os: linux, env: 'OPENDDS_BRANCH=master DDS_SECURITY=1'}
19
+ - {os: linux, env: 'OPENDDS_BRANCH=latest-release DDS_SECURITY=1'}
20
+ addons :
21
+ apt :
22
+ sources :
23
+ - ubuntu-toolchain-r-test
24
+ packages :
25
+ - libxerces-c-dev
26
+ - libssl-dev
20
27
before_install :
21
28
- nvm install $NODE_VERSION
22
29
- nvm use $NODE_VERSION
@@ -28,7 +35,8 @@ branches:
28
35
before_script :
29
36
- export
30
37
- cd OpenDDS
31
- - ./configure --no-tests --macros=c++11=1
38
+ - if [ "$DDS_SECURITY" == 1 ]; then CONFIG_OPTIONS+=" --security"; fi
39
+ - ./configure --no-tests --std=c++11 $CONFIG_OPTIONS
32
40
- cd ..
33
41
- npm install -g node-gyp
34
42
script :
@@ -39,4 +47,5 @@ script:
39
47
- $ACE_ROOT/bin/mwc.pl -type gnuace -exclude ACE_TAO,OpenDDS
40
48
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TRAVIS_BUILD_DIR/tools/v8stubs
41
49
- make
42
- - cd test; ./run_test.pl
50
+ - if [ "$DDS_SECURITY" == 1 ]; then TEST_OPTIONS+=" --secure"; fi
51
+ - cd test; ./run_test.pl $TEST_OPTIONS
0 commit comments