diff mbox series

[v1,1/2] travis: expand testing with varios configure options

Message ID 1495573206-20223-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v1,1/2] travis: expand testing with varios configure options | expand

Commit Message

Github ODP bot May 23, 2017, 9 p.m. UTC
From: Maxim Uvarov <maxim.uvarov@linaro.org>


Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
/** Email created from pull request 36 (muvarov:master_travis_checks)
 ** https://github.com/Linaro/odp/pull/36
 ** Patch: https://github.com/Linaro/odp/pull/36.patch
 ** Base sha: 599ac6802352c9c56eca33a6004824783becaa6e
 ** Merge commit sha: 6cddc672435f8a765c1a03f39ba0149812b056b4
 **/
 .travis.yml | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 65edfbb3..2a774d55 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -59,6 +59,30 @@  matrix:
           packages:
             - gcc
       env: TEST="CHECKPATCH"
+    - compiler: clang
+      addons:
+        apt:
+          sources:
+            - ubuntu-toolchain-r-test
+          packages:
+            - clang-3.8
+      env: CONF="--disable-abi-compat"
+    - compiler: clang
+      addons:
+        apt:
+          sources:
+            - ubuntu-toolchain-r-test
+          packages:
+            - clang-3.8
+      env: CONF="--enable-schedule-sp"
+    - compiler: clang
+      addons:
+        apt:
+          sources:
+            - ubuntu-toolchain-r-test
+          packages:
+            - clang-3.8
+      env: CONF="--enable-schedule-iquery"
 
 before_install:
         - echo 1000 | sudo tee /proc/sys/vm/nr_hugepages
@@ -125,7 +149,7 @@  script:
         - make distcheck
 
         - ./bootstrap
-        - ./configure --prefix=$HOME/odp-install  --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap CFLAGS="$MY_CF" CXXFLAGS="$MY_CF" LDFLAGS="$MY_LDF"
+        - ./configure --prefix=$HOME/odp-install  --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap CFLAGS="$MY_CF" CXXFLAGS="$MY_CF" LDFLAGS="$MY_LDF" $CONF
         - make -j 4
         - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" make check
         - make install