Make Travis logs more readable by folding the different sections

See https://github.com/travis-ci/travis-ci/issues/2285 for more information
about log folding on Travis.
This commit is contained in:
Vadim Zeitlin 2015-12-30 15:07:28 +01:00
parent b67ca545cc
commit 3ea3be5bcb

View File

@ -30,12 +30,24 @@ env:
- wxCONFIGURE_FLAGS="--enable-stl" CXXFLAGS=-std=c++0x
script:
- echo 'Configuring...' && echo -en 'travis_fold:start:script.1\\r'
- ./configure --disable-optimise $wxCONFIGURE_FLAGS
- echo -en 'travis_fold:end:script.1\\r'
- echo 'Building...' && echo -en 'travis_fold:start:script.2\\r'
- make
- echo -en 'travis_fold:end:script.2\\r'
- echo 'Testing...' && echo -en 'travis_fold:start:script.3\\r'
- make -C tests
- pushd tests
- ./test -t
- popd
- echo -en 'travis_fold:end:script.3\\r'
- echo 'Building the samples...' && echo -en 'travis_fold:start:script.4\\r'
- make samples
- echo -en 'travis_fold:end:script.4\\r'
- echo 'Installing...' && echo -en 'travis_fold:start:script.5\\r'
- sudo make install
- echo -en 'travis_fold:end:script.5\\r'
- echo 'Testing building with the installed version...' && echo -en 'travis_fold:start:script.6\\r'
- make -C samples/minimal -f makefile.unx
- echo -en 'travis_fold:end:script.6\\r'