forked from docker/machine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
30 lines (25 loc) · 887 Bytes
/
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
machine:
pre:
- bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/1.0.22/binscripts/gvm-installer)
post:
- gvm install go1.7 -B --name=stable
environment:
CHECKOUT: /home/ubuntu/$CIRCLE_PROJECT_REPONAME
BASE_DIR: src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
BASE_STABLE: ../../../$HOME/.gvm/pkgsets/stable/global/$BASE_DIR
GO15VENDOREXPERIMENT: 1
dependencies:
override:
- >
gvm use stable &&
mkdir -p "$(dirname $BASE_STABLE)" &&
cp -R "$CHECKOUT" "$BASE_STABLE"
test:
pre:
- gvm use stable && make build:
pwd: $BASE_STABLE
- gvm use stable && go get github.com/docker/docker-machine-driver-ci-test
override:
- gvm use stable && PATH=../../../../bin:$PATH DRIVER=ci-test go test -v github.com/docker/machine/its/...:
pwd: $BASE_STABLE
timeout: 600