mirror of
https://github.com/unidoc/unipdf.git
synced 2025-05-11 19:29:40 +08:00
47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
![]() |
# This references the default golang container from
|
||
|
# the Docker Hub: https://registry.hub.docker.com/u/library/golang/
|
||
|
# If you want Google's container you would reference google/golang
|
||
|
# Read more about containers on our dev center
|
||
|
# http://devcenter.wercker.com/docs/containers/index.html
|
||
|
box: golang
|
||
|
# This is the build pipeline. Pipelines are the core of wercker
|
||
|
# Read more about pipelines on our dev center
|
||
|
# http://devcenter.wercker.com/docs/pipelines/index.html
|
||
|
|
||
|
# You can also use services such as databases. Read more on our dev center:
|
||
|
# http://devcenter.wercker.com/docs/services/index.html
|
||
|
# services:
|
||
|
# - postgres
|
||
|
# http://devcenter.wercker.com/docs/services/postgresql.html
|
||
|
|
||
|
# - mongo
|
||
|
# http://devcenter.wercker.com/docs/services/mongodb.html
|
||
|
build:
|
||
|
# The steps that will be executed on build
|
||
|
# Steps make up the actions in your pipeline
|
||
|
# Read more about steps on our dev center:
|
||
|
# http://devcenter.wercker.com/docs/steps/index.html
|
||
|
steps:
|
||
|
# Sets the go workspace and places you package
|
||
|
# at the right place in the workspace tree
|
||
|
- setup-go-workspace
|
||
|
|
||
|
# Gets the dependencies
|
||
|
- script:
|
||
|
name: go get
|
||
|
code: |
|
||
|
go get
|
||
|
|
||
|
# Build the project
|
||
|
- script:
|
||
|
name: go build
|
||
|
code: |
|
||
|
go build ./...
|
||
|
|
||
|
# Test the project
|
||
|
- script:
|
||
|
name: go test
|
||
|
code: |
|
||
|
go test ./...
|
||
|
|