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

Commit 1765479

Browse files
committed
Reduce output from drone, add comments
Reduce steps, concatenating them in logical steps
1 parent 70bc2a3 commit 1765479

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.drone.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ pipeline:
1818
- make clean
1919
- make vet
2020
- make lint
21-
- git --version
22-
- make test
23-
- apk add --update autoconf &&
24-
apk add --update zlib-dev &&
21+
# Test with latest git version
22+
- git --version && make test
23+
# Test with git version 1.7.2
24+
- apk add --update autoconf zlib-dev > /dev/null &&
2525
mkdir build &&
2626
curl -sL "https://github.com/git/git/archive/v1.7.2.tar.gz" -o git.tar.gz &&
2727
tar -C build -xzf git.tar.gz &&
2828
cd build/git-1.7.2 &&
29-
autoconf &&
30-
./configure --without-tcltk --prefix=/usr/local &&
31-
make install NO_PERL=please &&
29+
{ autoconf 2> err || cat err; } &&
30+
./configure --without-tcltk --prefix=/usr/local > /dev/null &&
31+
{ make install NO_PERL=please > /dev/null 2> err || cat err; } &&
3232
cd ../.. &&
33-
rm -rf build &&
34-
rm git.tar.gz
35-
- hash -r
36-
- git --version
37-
- make test
33+
rm -rf build git.tar.gz &&
34+
hash -r &&
35+
git --version &&
36+
make test
37+
# Test a build (is this really needed?)
3838
- make build
3939

4040
# coverage:

0 commit comments

Comments
 (0)