mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-10 17:45:36 +00:00
commit
fa03189109
1 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ workspace:
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
test:
|
test:
|
||||||
image: golang:1.8
|
image: golang:1.12.4
|
||||||
commands:
|
commands:
|
||||||
- go get -u golang.org/x/tools/cmd/cover
|
- go get -u golang.org/x/tools/cmd/cover
|
||||||
- go get -u golang.org/x/net/context
|
- go get -u golang.org/x/net/context
|
||||||
|
@ -14,7 +14,7 @@ pipeline:
|
||||||
- go test -cover $(go list ./... | grep -v /vendor/)
|
- go test -cover $(go list ./... | grep -v /vendor/)
|
||||||
|
|
||||||
test_postgres:
|
test_postgres:
|
||||||
image: golang:1.8
|
image: golang:1.12.4
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_DRIVER=postgres
|
- DATABASE_DRIVER=postgres
|
||||||
- DATABASE_CONFIG=host=postgres user=postgres dbname=postgres sslmode=disable
|
- DATABASE_CONFIG=host=postgres user=postgres dbname=postgres sslmode=disable
|
||||||
|
@ -22,7 +22,7 @@ pipeline:
|
||||||
- go test github.com/laszlocph/drone-oss-08/store/datastore
|
- go test github.com/laszlocph/drone-oss-08/store/datastore
|
||||||
|
|
||||||
test_mysql:
|
test_mysql:
|
||||||
image: golang:1.8
|
image: golang:1.12.4
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_DRIVER=mysql
|
- DATABASE_DRIVER=mysql
|
||||||
- DATABASE_CONFIG=root@tcp(mysql:3306)/test?parseTime=true
|
- DATABASE_CONFIG=root@tcp(mysql:3306)/test?parseTime=true
|
||||||
|
@ -30,7 +30,7 @@ pipeline:
|
||||||
- go test github.com/laszlocph/drone-oss-08/store/datastore
|
- go test github.com/laszlocph/drone-oss-08/store/datastore
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: golang:1.8
|
image: golang:1.12.4
|
||||||
commands: sh .drone.sh
|
commands: sh .drone.sh
|
||||||
when:
|
when:
|
||||||
event: [ push, tag ]
|
event: [ push, tag ]
|
||||||
|
|
Loading…
Reference in a new issue