woodpecker/pipeline/samples/sample_2/pipeline.yml
Jacob Floyd e34daae0cf
Move cncd/pipeline/pipeline/ to pipeline/ (#347)
* Refactor: move cncd/pipeline/ to pipeline/

* Refactor: move pipeline/pipeline/ to pipeline/
2021-09-24 13:18:34 +02:00

20 lines
359 B
YAML

workspace:
base: /go
path: src/github.com/go-sql-driver/mysql
pipeline:
build:
image: golang:1.7
environment:
MYSQL_TEST_ADDR: database:3306
commands:
- sleep 20
- go get -v -t
- go test -v
services:
database:
image: mysql
environment:
- MYSQL_DATABASE=gotest
- MYSQL_ALLOW_EMPTY_PASSWORD=yes