Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 92a3b53

Browse files
committed
Add some decorative titles in the travis output
1 parent ae28d9d commit 92a3b53

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

ci/osx-deps

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,26 @@
22

33
set -euo pipefail
44

5-
echo travis_fold:start:Python
5+
echo -e "travis_fold:start:Python\e[2K"
6+
echo "Install Python 3.8 from python.org"
67
curl -O https://www.python.org/ftp/python/3.8.5/python-3.8.5-macosx10.9.pkg
78
sudo installer -package python-3.8.5-macosx10.9.pkg -target /
89
sudo ln -s /usr/local/bin/python3 /usr/local/bin/python
910
hash -r
10-
echo travis_fold:end:Python
11+
echo -e "travis_fold:end:Python\e[2K"
1112

12-
echo travis_fold:start:Qt4.8
13+
echo -e "travis_fold:start:Qt4.8\e[2K"
14+
echo "Install Qt 4.8 from qt.io"
1315
curl -O https://download.qt.io/archive/qt/4.8/4.8.7/qt-opensource-mac-4.8.7.dmg
1416
hdiutil attach qt-opensource-mac-4.8.7.dmg
1517
sudo installer -package '/Volumes/Qt 4.8.7/packages/Qt_headers.pkg' -target /
1618
sudo installer -package '/Volumes/Qt 4.8.7/packages/Qt_imports.pkg' -target /
1719
sudo installer -package '/Volumes/Qt 4.8.7/packages/Qt_libraries.pkg' -target /
1820
hdiutil detach '/Volumes/Qt 4.8.7'
19-
echo travis_fold:end:Qt4.8
21+
echo -e "travis_fold:end:Qt4.8\e[2K"
2022

21-
echo travis_fold:start:ccache
23+
echo -e "travis_fold:start:ccache\e[2K"
24+
echo 'Install ccache (compile it ourselves)'
2225
curl -O -L https://github.com/ccache/ccache/releases/download/v3.7.11/ccache-3.7.11.tar.xz
2326
tar xf ccache-3.7.11.tar.xz
2427
pushd ccache-3.7.11
@@ -29,9 +32,10 @@ popd
2932
for compiler in clang clang++ cc gcc c++ g++; do
3033
ln -sf ccache /usr/local/bin/$compiler
3134
done
32-
echo travis_fold:end:ccache
35+
echo -e "travis_fold:end:ccache\e[2K"
3336

34-
echo travis_fold:start:pkg-config
37+
echo -e "travis_fold:start:pkg-config\e[2K"
38+
echo 'Install pkg-config (compile it ourselves)'
3539
curl -O -L https://dl.bintray.com/homebrew/mirror/pkg-config-0.29.2.tar.gz
3640
tar xf pkg-config-0.29.2.tar.gz
3741
pushd pkg-config-0.29.2
@@ -41,20 +45,22 @@ pushd pkg-config-0.29.2
4145
make
4246
make install
4347
popd
44-
echo travis_fold:end:pkg-config
48+
echo -e "travis_fold:end:pkg-config\e[2K"
4549

46-
echo travis_fold:start:libpng
50+
echo -e "travis_fold:start:libpng\e[2K"
51+
echo 'Install libpng (compile it ourselves)'
4752
curl -O -L https://downloads.sourceforge.net/libpng/libpng-1.6.37.tar.xz
4853
tar xf libpng-1.6.37.tar.xz
4954
pushd libpng-1.6.37
5055
./configure --disable-dependency-tracking --disable-silent-rules --prefix=/usr/local
5156
make
5257
make install
5358
popd
54-
echo travis_fold:end:libpng
59+
echo -e "travis_fold:end:libpng\e[2K"
5560

56-
echo travis_fold:start:freetype
61+
echo -e "travis_fold:start:freetype\e[2K"
62+
echo 'Install libpng (just unpack into the build directory)'
5763
curl -O -L https://download.savannah.gnu.org/releases/freetype/freetype-2.6.1.tar.gz
5864
mkdir -p build
5965
tar -x -C build -f freetype-2.6.1.tar.gz
60-
echo travis_fold:end:freetype
66+
echo -e "travis_fold:end:freetype\e[2K"

0 commit comments

Comments
 (0)