Repository navigation
Expand file tree
/
Copy pathcircle.yml
More file actions
55 lines (50 loc) · 1.76 KB
/
Copy pathcircle.yml
File metadata and controls
55 lines (50 loc) · 1.76 KB
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
47
48
49
50
51
52
53
54
55
## Machine specific variable
machine:
xcode:
version: 9.0
environment:
GOPATH: $HOME
GOVERSION: 1.8.3
PATH: $GOPATH/bin:/usr/local/go/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:
- sudo rm -rf /usr/local/go
- curl https://storage.googleapis.com/golang/go${GOVERSION}.darwin-amd64.tar.gz | sudo tar -C /usr/local -xz
- go version
- go env
- mkdir $HOME/bin
# 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
- make validate_commits:
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