Skip to content
Snippets Groups Projects
Verified Commit 1d471c8e authored by René Fritze's avatar René Fritze
Browse files

[ci] restrict ninja to 1 proc again since we are exhausting vmem

parent 0a5bb91c
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
#
# This file is part of the dune-xt-la project:
# https://github.com/dune-community/dune-xt-la
# Copyright 2009-2018 dune-xt-la developers and contributors. All rights reserved.
# License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
# Authors:
# Felix Schindler (2017)
# Rene Milk (2017 - 2018)
# ****** THIS FILE IS AUTOGENERATED, DO NOT EDIT ********** # ****** THIS FILE IS AUTOGENERATED, DO NOT EDIT **********
# this file is treated as a jinja2 template # this file is treated as a jinja2 template
${DUNE_VENV_ACTIVATE}
WAIT="${SUPERDIR}/scripts/bash/travis_wait_new.bash 45" WAIT="${SUPERDIR}/scripts/bash/travis_wait_new.bash 45"
source ${SUPERDIR}/scripts/bash/retry_command.bash source ${SUPERDIR}/scripts/bash/retry_command.bash
......
#!/usr/bin/env python3 #!/usr/bin/env python3
#
# This file is part of the dune-xt-la project:
# https://github.com/dune-community/dune-xt-la
# Copyright 2009-2018 dune-xt-la developers and contributors. All rights reserved.
# License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
# Authors:
# Rene Milk (2017 - 2018)
import os import os
from os.path import expanduser from os.path import expanduser
......
#!/bin/bash #!/bin/bash
#
# This file is part of the dune-xt-la project:
# https://github.com/dune-community/dune-xt-la
# Copyright 2009-2018 dune-xt-la developers and contributors. All rights reserved.
# License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
# Authors:
# Felix Schindler (2017)
# Rene Milk (2017 - 2018)
# ****** THIS FILE IS AUTOGENERATED, DO NOT EDIT ********** # ****** THIS FILE IS AUTOGENERATED, DO NOT EDIT **********
# this file is treated as a jinja2 template # this file is treated as a jinja2 template
...@@ -14,17 +6,15 @@ ...@@ -14,17 +6,15 @@
set -e set -e
set -x set -x
${DUNE_VENV_ACTIVATE}
WAIT="${SUPERDIR}/scripts/bash/travis_wait_new.bash 45" WAIT="${SUPERDIR}/scripts/bash/travis_wait_new.bash 45"
source ${SUPERDIR}/scripts/bash/retry_command.bash source ${SUPERDIR}/scripts/bash/retry_command.bash
${SRC_DCTRL} ${BLD} --only=${MY_MODULE} configure ${SRC_DCTRL} ${BLD} --only=${MY_MODULE} configure
${SRC_DCTRL} ${BLD} --only=${MY_MODULE} bexec ${BUILD_CMD} ${SRC_DCTRL} ${BLD} --only=${MY_MODULE} bexec ${BUILD_CMD}
if [ x"${TESTS}" == x ] ; then if [ x"${TESTS}" == x ] ; then
${WAIT} ${SRC_DCTRL} ${BLD} --only=${MY_MODULE} bexec ninja -v test_binaries ${WAIT} ${SRC_DCTRL} ${BLD} --only=${MY_MODULE} bexec ninja -j1 -v test_binaries
else else
${WAIT} ${SRC_DCTRL} ${BLD} --only=${MY_MODULE} bexec ninja -v test_binaries_builder_${TESTS} ${WAIT} ${SRC_DCTRL} ${BLD} --only=${MY_MODULE} bexec ninja -j1 -v test_binaries_builder_${TESTS}
fi fi
source ${OPTS} source ${OPTS}
...@@ -32,8 +22,9 @@ CTEST="ctest -V --timeout ${DXT_TEST_TIMEOUT:-300} -j ${DXT_TEST_PROCS:-2}" ...@@ -32,8 +22,9 @@ CTEST="ctest -V --timeout ${DXT_TEST_TIMEOUT:-300} -j ${DXT_TEST_PROCS:-2}"
if [ x"${TESTS}" == x ] ; then if [ x"${TESTS}" == x ] ; then
${SRC_DCTRL} ${BLD} --only=${MY_MODULE} bexec ${CTEST} ${SRC_DCTRL} ${BLD} --only=${MY_MODULE} bexec ${CTEST}
${SRC_DCTRL} ${BLD} --only=${MY_MODULE} bexec ${BUILD_CMD} headercheck ${SRC_DCTRL} ${BLD} --only=${MY_MODULE} bexec ninja -j1 headercheck
else else
# with binning headercheck is included in building tests
${SRC_DCTRL} ${BLD} --only=${MY_MODULE} bexec ${CTEST} -L "^builder_${TESTS}$" ${SRC_DCTRL} ${BLD} --only=${MY_MODULE} bexec ${CTEST} -L "^builder_${TESTS}$"
fi fi
......
# This file is part of the dune-xt-la project: # This file is part of the dune-xt-la project:
# https://github.com/dune-community/dune-xt-la # https://github.com/dune-community/dune-xt-la
# Copyright 2009-2018 dune-xt-la developers and contributors. All rights reserved. # Copyright 2009-2017 dune-xt-functions developers and contributors. All rights reserved.
# License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) # License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
# or GPL-2.0+ (http://opensource.org/licenses/gpl-license)
# with "runtime exception" (http://www.dune-project.org/license.html)
# Authors: # Authors:
# Felix Schindler (2016 - 2017) # Felix Schindler (2016 - 2017)
# Rene Milk (2016 - 2018) # Rene Milk (2016 - 2017)
# Tobias Leibner (2016) # Tobias Leibner (2016)
#
# or GPL-2.0+ (http://opensource.org/licenses/gpl-license)
# with "runtime exception" (http://www.dune-project.org/license.html)
sudo: required sudo: required
dist: trusty dist: trusty
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment