Skip to content

Instantly share code, notes, and snippets.

@kyokomi
Last active December 18, 2016 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kyokomi/7f9d621af015098c9c06c5f3c77cd37f to your computer and use it in GitHub Desktop.
Save kyokomi/7f9d621af015098c9c06c5f3c77cd37f to your computer and use it in GitHub Desktop.
Wecker.yml when treating private repository with glide (golang).
package: github.com/kyokomi/wercker_private_glide
import:
- package: github.com/kyokomi/private_hoge
repo: git@github.com:kyokomi/private_hoge.git
vcs: git
box: golang
build:
steps:
- add-ssh-key:
keyname: kyokomidev
host: github.com
- add-to-known_hosts:
hostname: github.com
fingerprint: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
- setup-go-workspace
- glide-install
# Build the project
- script:
name: go build
code: |
go build ./...
# Test the project
- script:
name: go test
code: |
go test ./...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment