aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>2018-01-24 19:40:29 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2018-01-25 22:33:26 +0300
commitf7e4949e65f29f043115df1a171e0e49a4830ef6 (patch)
treed451dbccbcb2dcb2034a196cbc6b7e69d5bca4ee /.travis.yml
parent984686b0763495c6dd97d2094f292fc7e01937d0 (diff)
travis: schedule long builds (distcheck) before short CROSS-tests
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> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml74
1 files changed, 57 insertions, 17 deletions
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