Update circle.yml to request docker to run.
parent
5077efc60c
commit
d9ef50518f
37
circle.yml
37
circle.yml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue