mirror of
https://github.com/gfleury/go-bitbucket-v1.git
synced 2025-04-05 01:10:12 -05:00
27 lines
641 B
YAML
27 lines
641 B
YAML
language: go
|
|
go:
|
|
- 1.11.x
|
|
- 1.13.x
|
|
- 1.14.x
|
|
- master
|
|
|
|
services:
|
|
- docker
|
|
|
|
before_install:
|
|
- docker pull gfleury/bb-demo:demo
|
|
- ddocker run -e BITBUCKET_HOME=/mnt --rm --name="bitbucket" -d -p 7990:7990 -p 7999:7999 gfleury/bb-demo:demo
|
|
- docker ps -a
|
|
- curl http://localhost:7990/mvc/login?nextUrl=/dashboard |grep "Log in"; while [ $? != 0 ]; do sleep 2; curl http://localhost:7990/mvc/login?nextUrl=/dashboard |grep "Log in"; done
|
|
|
|
|
|
install:
|
|
- go get -d -v .
|
|
|
|
script:
|
|
- go test
|
|
- INTEGRATION=TRUE go test
|
|
- go build -v ./
|
|
- go get -u github.com/golangci/golangci-lint/cmd/golangci-lint && golangci-lint run -v
|
|
|