This repository was archived by the owner on Apr 12, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -18,23 +18,23 @@ pipeline:
18
18
- make clean
19
19
- make vet
20
20
- 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 &&
25
25
mkdir build &&
26
26
curl -sL "https://github.com/git/git/archive/v1.7.2.tar.gz" -o git.tar.gz &&
27
27
tar -C build -xzf git.tar.gz &&
28
28
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; } &&
32
32
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?)
38
38
- make build
39
39
40
40
# coverage:
You can’t perform that action at this time.
0 commit comments