From aad6ef80d2190defe3e5947fe29fb1a204c0ae8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Wed, 11 Jul 2018 19:14:41 +0200 Subject: [PATCH] Ensure that Travis collapses the output of the commands --- .travis.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6a790b5..ea4a5c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ matrix: include: - os: linux env: MODE=self-test # Ensure that the Makefile works, especially with parallel builds. - script: make -j 10 test + install: make -j 10 test sudo: true addons: apt: @@ -98,11 +98,11 @@ matrix: - dosbox - os: osx env: MODE=osx-test # Ensure that the Makefile works. Check that the generated os.bat works in sh mode - script: make all + install: make all # TODO: install sikulix # TODO: test in SH mode -install: +before_install: - make --version || true - nasm -v || true - mtools --version || true @@ -112,7 +112,7 @@ install: - export PATH="$HOME/sikulix/:$PATH" - if test "$MODE" = virtualbox -o "$MODE" = self-test; then ./utils/install-virtualbox.sh; fi -script: +install: - make test/${MODE} - | ./utils/auto-push.sh "https://github.com/jsmaniac/travis-os.git" \ @@ -122,3 +122,8 @@ script: "edf345aad47e" \ "deploy-screenshots" \ "$(if test "$TRAVIS_BRANCH" = "master"; then echo master; else echo dev; fi)" + +# empty script, we want to have the commands neatly collapsed and Travis does +# this only for some sections (install and before_install, but not script). +script: + - true \ No newline at end of file