diff options
author | Petri Savolainen <petri.savolainen@linaro.org> | 2018-10-15 17:12:10 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2018-10-22 18:12:26 +0300 |
commit | 3cae562cf7e11f87d00c19f96b7b29f98a8dddc3 (patch) | |
tree | a3fc371c5ea4044dc5568462867ebe110b031d04 /.travis.yml | |
parent | 8c72eb46fb1ee47340ffc7af322215fb78894b37 (diff) |
travis: add test cases for optional schedulers
Added separate tests for schedulers, so that those can be
executed in parallel. Schedulers are tested with default
compiler flags. Previously, optional schedulers were tested
only without compiler optimizations (-O0) in coverage test.
Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
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 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 16e3a3103..f6e0e49ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -99,6 +99,28 @@ script: jobs: include: - stage: test + env: TEST=scheduler_sp + compiler: gcc + script: + - if [ -z "${DOCKER_NAMESPACE}" ] ; then export DOCKER_NAMESPACE="opendataplane"; fi + - docker run --privileged -i -t + -v `pwd`:/odp --shm-size 8g + -e CC="${CC}" + -e CONF="" + -e ODP_SCHEDULER=sp + ${DOCKER_NAMESPACE}/travis-odp-lng-ubuntu_16.04 /odp/scripts/ci/check.sh + - stage: test + env: TEST=scheduler_scalable + compiler: gcc + script: + - if [ -z "${DOCKER_NAMESPACE}" ] ; then export DOCKER_NAMESPACE="opendataplane"; fi + - docker run --privileged -i -t + -v `pwd`:/odp --shm-size 8g + -e CC="${CC}" + -e CONF="" + -e ODP_SCHEDULER=scalable + ${DOCKER_NAMESPACE}/travis-odp-lng-ubuntu_16.04 /odp/scripts/ci/check.sh + - stage: test env: TEST=process_mode install: - true |