diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2015-02-05 14:38:38 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2015-02-05 14:38:38 +0100 |
commit | 1a97d05a679ab10f854ae49ff246cd963893b380 (patch) | |
tree | 5557a9b5d0fa53911b05d6482c35d869883c3389 /.travis.yml | |
parent | 933a604e385bbf3a1362022281b90246740f6597 (diff) | |
download | ATCD-1a97d05a679ab10f854ae49ff246cd963893b380.tar.gz |
Also compile with clang
* .travis.yml:
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 2e83b2c2754..50a88505630 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: cpp compiler: - gcc + - clang env: global: - ACE_ROOT=$TRAVIS_BUILD_DIR/ACE @@ -15,7 +16,8 @@ before_install: before_script: - export - echo -e "#include \"ace/config-linux.h\"" >> $ACE_ROOT/ace/config.h - - echo -e "include \$(ACE_ROOT)/include/makeinclude/platform_linux.GNU" >> $ACE_ROOT/include/makeinclude/platform_macros.GNU + - if [ "$CXX" == "g++" ]; then echo -e "include \$(ACE_ROOT)/include/makeinclude/platform_linux.GNU" >> $ACE_ROOT/include/makeinclude/platform_macros.GNU + - if [ "$CXX" == "clang++" ]; then echo -e "include \$(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU" >> $ACE_ROOT/include/makeinclude/platform_macros.GNU script: - perl $ACE_ROOT/bin/mwc.pl -type gnuace -workers 2 |