-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
27 lines (27 loc) · 768 Bytes
/
circle.yml
File metadata and controls
27 lines (27 loc) · 768 Bytes
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
machine:
environment:
GOROOT: /home/ubuntu/go
GOMAXPROCS: 8
PATH: /home/ubuntu/go/bin:$PATH
SRC: /home/ubuntu/.go_workspace/src/github.com/hashicorp/terraform
#PATH: ~/$SRC/bin:$PATH
checkout:
post:
- git config --global url.ssh://git@github.com/.insteadOf https://github.com/
dependencies:
pre:
- if [[ ! -e /home/ubuntu/go/bin/go ]]; then cd /home/ubuntu; curl https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz | tar -xz; fi
- go version
- go get -u github.com/hashicorp/terraform
- echo $GOPATH
- cd $SRC && make updatedeps && make dev
- terraform -version
cache_directories:
- /home/ubuntu/go
- ~/$SRC/bin
test:
pre:
- ls -alhtr ~/
- env
override:
- terraform -version