forked from minishift/minishift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
46 lines (41 loc) · 1.4 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
## Machine specific variable
machine:
environment:
GOPATH: $HOME
PATH: $GOPATH/bin:$PATH
XCODE_SCHEME: symbolicator
XCODE_WORKSPACE: symbolicator
## Post operation after git checkout
checkout:
post:
- mkdir -p $HOME/src/github.com/minishift && cp -r ../$CIRCLE_PROJECT_REPONAME $HOME/src/github.com/minishift
## Customize dependencies
dependencies:
override:
- go version
- go env
# Install Glide
- curl -sL ${GLIDE_LATEST_RELEASE_URL} -o /tmp/glide.tar.gz:
environment:
GLIDE_OS_ARCH: $(go env GOHOSTOS)-$(go env GOHOSTARCH)
GLIDE_TAG: v0.12.3
GLIDE_LATEST_RELEASE_URL: "https://github.com/Masterminds/glide/releases/download/${GLIDE_TAG}/glide-${GLIDE_TAG}-${GLIDE_OS_ARCH}.tar.gz"
- mkdir /tmp/glide
- tar --directory=/tmp/glide -xvf /tmp/glide.tar.gz
- mv /tmp/glide/${GLIDE_OS_ARCH}/glide $GOPATH/bin/:
environment:
GLIDE_OS_ARCH: $(go env GOHOSTOS)-$(go env GOHOSTARCH)
## Customize test commands
test:
override:
- make prerelease:
pwd:
../src/github.com/minishift/minishift
## Artifacts
general:
artifacts:
- "../src/github.com/minishift/minishift/out"
## Notifications
notify:
webhooks:
- url: http://minibot.19cf262c.svc.dockerapp.io:9009/hubot/circleci