Update circle.yml to request docker to run.

pull/10616/head
Chris Goller 2016-09-16 16:07:58 -05:00
parent 5077efc60c
commit d9ef50518f
1 changed files with 19 additions and 18 deletions

View File

@ -1,27 +1,28 @@
---
machine:
post:
- go version
- go version | grep 1.7.1 || (sudo rm -rf /usr/local/go && wget https://storage.googleapis.com/golang/go1.7.1.linux-amd64.tar.gz && sudo tar -C /usr/local -xzf go1.7.1.linux-amd64.tar.gz)
- go version
services:
- docker
post:
- go version
- go version | grep 1.7.1 || (sudo rm -rf /usr/local/go && wget https://storage.googleapis.com/golang/go1.7.1.linux-amd64.tar.gz && sudo tar -C /usr/local -xzf go1.7.1.linux-amd64.tar.gz)
- go version
dependencies:
pre:
- git config --global url."git@github.com:".insteadOf "https://github.com/"
- mkdir -p ${HOME}/.go_workspace/src/github.com/influxdata
- ln -sf ${HOME}/mrfusion ${HOME}/.go_workspace/src/github.com/influxdata
- cd ${HOME}/.go_workspace/src/github.com/influxdata/mrfusion && make
pre:
- git config --global url."git@github.com:".insteadOf "https://github.com/"
- mkdir -p ${HOME}/.go_workspace/src/github.com/influxdata
- ln -sf ${HOME}/mrfusion ${HOME}/.go_workspace/src/github.com/influxdata
- cd ${HOME}/.go_workspace/src/github.com/influxdata/mrfusion && make
test:
override:
- make test
override:
- make test
deployment:
heroku:
branch: develop
heroku:
branch: develop
commands:
- make docker
- docker login -e $HEROKU_EMAIL -u $HEROKU_EMAIL -p $HEROKU_PASS registry.heroku.com
- docker tag mrfusion registry.heroku.com/mrfusion-acc/web
- docker push registry.heroku.com/mrfusion-acc/web
- make docker
- docker login -e $HEROKU_EMAIL -u $HEROKU_EMAIL -p $HEROKU_PASS registry.heroku.com
- docker tag mrfusion registry.heroku.com/mrfusion-acc/web
- docker push registry.heroku.com/mrfusion-acc/web