diff options
author | Matias Elo <matias.elo@nokia.com> | 2017-11-09 15:14:32 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2017-11-14 22:55:27 +0300 |
commit | 9163719bd4c04321592dad9da7f26539f49c8b7a (patch) | |
tree | 7ca2b4b9518ebcb9680a407792a706ac1559103c /.travis.yml | |
parent | 7e9004e87bab2eacd82d449286a84ae7a8cb75ab (diff) |
travis: add build only test stage
Add basic build only test stage to the beginning of test run. This way
potential build errors are caught early on without having to wait for the
longer test jobs to finish.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 6bd03a0c1..b5c1b6417 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,9 @@ language: c sudo: required dist: trusty group: deprecated-2017Q2 +stages: + - "build only" + - test env: global: # COVERITY_SCAN_TOKEN @@ -256,7 +259,7 @@ jobs: - ./configure --prefix=$HOME/odp-install --enable-user-guides - sudo PATH="$PATH" LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make distcheck - - stage: test + - stage: "build only" env: TEST=doxygen compiler: gcc install: @@ -282,6 +285,38 @@ jobs: - 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 + install: true + script: + - ./bootstrap + - ./configure --enable-helper-linux + - make + - stage: "build only" + env: CONF="" + compiler: clang-3.8 + install: true + script: + - ./bootstrap + - ./configure --enable-helper-linux + - make + - stage: "build only" + env: CROSS_ARCH="i386" + compiler: gcc + install: true + script: + - ./bootstrap + - ./configure --enable-helper-linux $CROSS + - make + - stage: "build only" + env: CROSS_ARCH="arm64" + compiler: gcc + install: true + script: + - ./bootstrap + - ./configure --enable-helper-linux $CROSS + - make after_failure: - cat config.log |