mirror of https://github.com/docker/docs.git
Simplify CircleCI configuration
Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
parent
a4d3248c88
commit
ae5b8ea8fc
|
@ -1,18 +1,13 @@
|
||||||
machine:
|
machine:
|
||||||
pre:
|
pre:
|
||||||
# Install gvm
|
|
||||||
- bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/1.0.22/binscripts/gvm-installer)
|
- bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/1.0.22/binscripts/gvm-installer)
|
||||||
# Install bats
|
|
||||||
- git clone https://github.com/sstephenson/bats.git && cd bats && sudo ./install.sh /usr/local
|
|
||||||
|
|
||||||
post:
|
post:
|
||||||
- gvm install go1.5.3 -B --name=stable
|
- gvm install go1.5.3 -B --name=stable
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
# Convenient shortcuts to "common" locations
|
|
||||||
CHECKOUT: /home/ubuntu/$CIRCLE_PROJECT_REPONAME
|
CHECKOUT: /home/ubuntu/$CIRCLE_PROJECT_REPONAME
|
||||||
BASE_DIR: src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
|
BASE_DIR: src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
|
||||||
# Trick circle brainflat "no absolute path" behavior
|
|
||||||
BASE_STABLE: ../../../$HOME/.gvm/pkgsets/stable/global/$BASE_DIR
|
BASE_STABLE: ../../../$HOME/.gvm/pkgsets/stable/global/$BASE_DIR
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in New Issue