diff mbox series

[v2,1/1] travis: schedule long builds (distcheck) before short CROSS-tests

Message ID 1516816810-21401-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v2,1/1] travis: schedule long builds (distcheck) before short CROSS-tests | expand

Commit Message

Github ODP bot Jan. 24, 2018, 6 p.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


long builds at the end of build schedule tend to prolongue build times.
Move crosscompilation tests to be scheduled after coverage/distcheck
tests.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 429 (lumag:trav-reorg)
 ** https://github.com/Linaro/odp/pull/429
 ** Patch: https://github.com/Linaro/odp/pull/429.patch
 ** Base sha: 27480d82bd93a881ae683a3c314c11042a68ce29
 ** Merge commit sha: f3c5329c714d5936aef81108e719a8217298b8b0
 **/
 .travis.yml | 74 +++++++++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 57 insertions(+), 17 deletions(-)
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 7dd7522da..b7d6cd415 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -58,14 +58,6 @@  env:
         - CONF="--enable-dpdk-zero-copy"
         - CONF="--disable-static-applications"
         - DPDK_SHARED="y" CONF="--disable-static-applications"
-        - CROSS_ARCH="arm64"
-        - CROSS_ARCH="armhf" CFLAGS="-march=armv7-a"
-        - CROSS_ARCH="powerpc"
-        - CROSS_ARCH="i386"
-        - CROSS_ARCH="arm64" CONF="--disable-abi-compat"
-        - CROSS_ARCH="armhf" CFLAGS="-march=armv7-a" CONF="--disable-abi-compat"
-        - CROSS_ARCH="powerpc" CONF="--disable-abi-compat"
-        - CROSS_ARCH="i386" CONF="--disable-abi-compat"
 
 compiler:
         - gcc
@@ -331,15 +323,6 @@  jobs:
                              else
                                true
                              fi
-                - stage: test
-                  env: TEST=checkpatch
-                  compiler: gcc
-                  install:
-                          - true
-                  script:
-                          - echo ${TRAVIS_COMMIT_RANGE};
-                          - ODP_PATCHES=`echo ${TRAVIS_COMMIT_RANGE} | sed 's/\.//'`;
-                          - ./scripts/ci-checkpatches.sh ${ODP_PATCHES};
                 - stage: "build only"
                   env: CONF=""
                   compiler: gcc
@@ -372,6 +355,63 @@  jobs:
                           - ./bootstrap
                           - ./configure --enable-helper-linux $CROSS
                           - make -j $(nproc)
+                - stage: test
+                  compiler: gcc
+                  env: CROSS_ARCH="arm64"
+                - stage: test
+                  compiler: clang-3.8
+                  env: CROSS_ARCH="arm64"
+                - stage: test
+                  compiler: gcc
+                  env: CROSS_ARCH="armhf" CFLAGS="-march=armv7-a"
+                - stage: test
+                  compiler: clang-3.8
+                  env: CROSS_ARCH="armhf" CFLAGS="-march=armv7-a"
+                - stage: test
+                  compiler: gcc
+                  env: CROSS_ARCH="powerpc"
+                - stage: test
+                  compiler: clang-3.8
+                  env: CROSS_ARCH="powerpc"
+                - stage: test
+                  compiler: gcc
+                  env: CROSS_ARCH="i386"
+                - stage: test
+                  compiler: clang-3.8
+                  env: CROSS_ARCH="i386"
+                - stage: test
+                  compiler: gcc
+                  env: CROSS_ARCH="arm64" CONF="--disable-abi-compat"
+                - stage: test
+                  compiler: clang-3.8
+                  env: CROSS_ARCH="arm64" CONF="--disable-abi-compat"
+                - stage: test
+                  compiler: gcc
+                  env: CROSS_ARCH="armhf" CFLAGS="-march=armv7-a" CONF="--disable-abi-compat"
+                - stage: test
+                  compiler: clang-3.8
+                  env: CROSS_ARCH="armhf" CFLAGS="-march=armv7-a" CONF="--disable-abi-compat"
+                - stage: test
+                  compiler: gcc
+                  env: CROSS_ARCH="powerpc" CONF="--disable-abi-compat"
+                - stage: test
+                  compiler: clang-3.8
+                  env: CROSS_ARCH="powerpc" CONF="--disable-abi-compat"
+                - stage: test
+                  compiler: gcc
+                  env: CROSS_ARCH="i386" CONF="--disable-abi-compat"
+                - stage: test
+                  compiler: clang-3.8
+                  env: CROSS_ARCH="i386" CONF="--disable-abi-compat"
+                - stage: test
+                  env: TEST=checkpatch
+                  compiler: gcc
+                  install:
+                          - true
+                  script:
+                          - echo ${TRAVIS_COMMIT_RANGE};
+                          - ODP_PATCHES=`echo ${TRAVIS_COMMIT_RANGE} | sed 's/\.//'`;
+                          - ./scripts/ci-checkpatches.sh ${ODP_PATCHES};
 
 after_failure:
   - cat config.log