mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-05 16:01:42 +01:00
testing/traefik: add check for version codename
This commit is contained in:
parent
73b3e2aaa2
commit
ebfc2c4b81
@ -37,12 +37,16 @@ build() {
|
||||
}
|
||||
|
||||
check() {
|
||||
# Unit tests
|
||||
# unit tests
|
||||
go test ./...
|
||||
|
||||
# Integration tests
|
||||
# integration tests
|
||||
cd integration
|
||||
go test -integration ./...
|
||||
|
||||
# ensure correct version codename
|
||||
local codename_from_ci=$(grep "CODENAME" "$builddir"/.travis.yml | cut -d= -f2)
|
||||
[ "$_codename" = "$codename_from_ci" ] || die "outdated codename"
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user