forked from OpenDDS/OpenDDS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (38 loc) · 1.62 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: cpp
compiler:
- gcc
- clang
env:
global:
- ACE_ROOT=$TRAVIS_BUILD_DIR/ext/ATCD/ACE
- TAO_ROOT=$TRAVIS_BUILD_DIR/ext/ATCD/TAO
- DDS_ROOT=$TRAVIS_BUILD_DIR
- MPC_ROOT=$TRAVIS_BUILD_DIR/ext/MPC
- LD_LIBRARY_PATH=$ACE_ROOT/lib:$DDS_ROOT/lib:$LD_LIBRARY_PATH
before_install:
- mkdir ext
- cd ext && git clone --depth 1 git://github.com/DOCGroup/MPC.git
- git clone -b Latest_Beta --depth 1 git://github.com/DOCGroup/ATCD.git
- cd ..
branches:
only:
- master
before_script:
- export
- echo -e "#include \"ace/config-linux.h\"" > $ACE_ROOT/ace/config.h
- if [ "$CXX" == "g++" ]; then echo -e "optimize=0" > $ACE_ROOT/include/makeinclude/platform_macros.GNU; fi
- if [ "$CXX" == "g++" ]; then echo -e "include \$(ACE_ROOT)/include/makeinclude/platform_linux.GNU" >> $ACE_ROOT/include/makeinclude/platform_macros.GNU; fi
- if [ "$CXX" == "clang++" ]; then echo -e "inline=0" > $ACE_ROOT/include/makeinclude/platform_macros.GNU; fi
- if [ "$CXX" == "clang++" ]; then echo -e "include \$(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU" >> $ACE_ROOT/include/makeinclude/platform_macros.GNU; fi
# - cat $ACE_ROOT/bin/MakeProjectCreator/config/default.features
- cat $ACE_ROOT/ace/config.h
- cat $ACE_ROOT/include/makeinclude/platform_macros.GNU
script:
- tar czf modeling_plugins.tar.gz tools/modeling/plugins
- rm -rf tools/modeling/plugins
- perl $DDS_ROOT/tools/scripts/dds_fuzz.pl
- tar xzf modeling_plugins.tar.gz
- rm modeling_plugins.tar.gz
- perl $ACE_ROOT/bin/mwc.pl -type gnuace -workers 2 DDS_TAOv2_all.mwc
- make -j2
- cd tests/DCPS/Messenger && ./run_test.pl all