26 lines
1.1 KiB
Bash
Raw Normal View History

2018-06-05 11:22:18 +02:00
#!/usr/bin/env bash
###########################################################################
# script.sh
# ---------------------
# Date : February 2017
# Copyright : (C) 2017 by Denis Rouzaud
# Email : denis.rouzaud@gmail.com
###########################################################################
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################
2017-02-27 09:41:05 +01:00
set -e
2017-02-24 15:15:59 +01:00
pushd build
2017-09-19 20:29:49 +02:00
export CTEST_BUILD_DIR=${TRAVIS_BUILD_DIR}
export CTEST_BUILD_COMMAND="/usr/bin/make -j3 -i -k"
2017-09-19 20:29:49 +02:00
python3 "${TRAVIS_BUILD_DIR}/.ci/travis/scripts/ctest2travis.py" xvfb-run ctest -VV --output-on-failure -S "${TRAVIS_BUILD_DIR}/.ci/travis/travis.ctest"
2017-02-24 15:15:59 +01:00
popd