forked from OpenDDS/OpenDDS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (38 loc) · 1.19 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
45
language: cpp
compiler:
- gcc
- clang
env:
global:
- ACE_ROOT=$TRAVIS_BUILD_DIR/ext/ACE_TAO/ACE
- TAO_ROOT=$TRAVIS_BUILD_DIR/ext/ACE_TAO/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
addons:
apt:
packages:
- libxerces-c-dev
before_install:
- mkdir ext
- cd ext && git clone --depth 1 git://github.com/DOCGroup/MPC.git
- git clone -b Latest_Micro --depth 1 git://github.com/DOCGroup/ACE_TAO.git
- cd ..
branches:
only:
- master
before_script:
- export
- tar czf modeling_plugins.tar.gz tools/modeling/plugins
- rm -rf tools/modeling/plugins tools/IntermediateTypeLang/cpp/rapidjson
- perl $DDS_ROOT/tools/scripts/dds_fuzz.pl
- if [ "$CXX" == "g++" ]; then ./configure --xerces3; fi
- if [ "$CXX" == "clang++" ]; then ./configure --xerces3 --compiler=clang++ --no-inline; fi
- cat $ACE_ROOT/bin/MakeProjectCreator/config/default.features
- cat $ACE_ROOT/ace/config.h
- cat $ACE_ROOT/include/makeinclude/platform_macros.GNU
- tar xzf modeling_plugins.tar.gz
- rm modeling_plugins.tar.gz
script:
- make -j2
- cd tests/DCPS/Messenger && ./run_test.pl all