This repository was archived by the owner on Apr 12, 2019. It is now read-only.
File tree 1 file changed +10
-17
lines changed 1 file changed +10
-17
lines changed Original file line number Diff line number Diff line change @@ -10,32 +10,25 @@ clone:
10
10
tags : true
11
11
12
12
pipeline :
13
- testing :
13
+ testing-git-latest :
14
14
image : webhippie/golang:edge
15
15
pull : true
16
16
commands :
17
17
- git update-ref refs/heads/test HEAD
18
18
- make clean
19
19
- make vet
20
20
- make lint
21
- # Test with latest git version
22
21
- git --version && make test
23
- # Test with git version 1.7.2
24
- - apk add --update autoconf zlib-dev > /dev/null &&
25
- mkdir build &&
26
- curl -sL "https://github.com/git/git/archive/v1.7.2.tar.gz" -o git.tar.gz &&
27
- tar -C build -xzf git.tar.gz &&
28
- cd build/git-1.7.2 &&
29
- { autoconf 2> err || { cat err && false; } } &&
30
- ./configure --without-tcltk --prefix=/usr/local > /dev/null &&
31
- { make install NO_PERL=please > /dev/null 2> err || { cat err && false; } } &&
32
- cd ../.. &&
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
22
- make build
23
+ testing-git-1.7 :
24
+ image : docker.kbt.io/gitea-git-ci:1.7
25
+ pull : true
26
+ commands :
27
+ - git update-ref refs/heads/test HEAD
28
+ - make clean
29
+ - make vet
30
+ - make lint
31
+ - PATH=/opt/git-1.7.2/bin git --version && make test
39
32
40
33
# coverage:
41
34
# image: plugins/coverage:1
You can’t perform that action at this time.
0 commit comments