Skip to content
This repository was archived by the owner on Apr 12, 2019. It is now read-only.

Commit d4901ac

Browse files
committed
Reduce output from drone, add comments
1 parent 70bc2a3 commit d4901ac

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.drone.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,24 @@ pipeline:
1818
- make clean
1919
- make vet
2020
- make lint
21+
# Test with latest git version
2122
- git --version
2223
- make test
23-
- apk add --update autoconf &&
24-
apk add --update zlib-dev &&
24+
# Test with git version 1.7.2
25+
- apk add --update autoconf zlib-dev > /dev/null &&
2526
mkdir build &&
2627
curl -sL "https://github.com/git/git/archive/v1.7.2.tar.gz" -o git.tar.gz &&
2728
tar -C build -xzf git.tar.gz &&
2829
cd build/git-1.7.2 &&
29-
autoconf &&
30-
./configure --without-tcltk --prefix=/usr/local &&
31-
make install NO_PERL=please &&
30+
{ autoconf 2> err || cat err; } &&
31+
./configure --without-tcltk --prefix=/usr/local > /dev/null &&
32+
{ make install NO_PERL=please > /dev/null 2> err || cat err; } &&
3233
cd ../.. &&
33-
rm -rf build &&
34-
rm git.tar.gz
34+
rm -rf build git.tar.gz &&
3535
- hash -r
3636
- git --version
3737
- make test
38+
# Test a build (is this really needed?)
3839
- make build
3940

4041
# coverage:

0 commit comments

Comments
 (0)